Merge pull request #1584 from fidencio/wip/update-install-docs-for-fedora-and-centos

Update install docs for Fedora and CentOS
This commit is contained in:
Fabiano Fidêncio
2021-03-31 11:31:11 +02:00
committed by GitHub
3 changed files with 5 additions and 12 deletions

View File

@@ -50,7 +50,7 @@ Kata packages are provided by official distribution repositories for:
| Distribution (link to installation guide) | Minimum versions | | Distribution (link to installation guide) | Minimum versions |
|----------------------------------------------------------|--------------------------------------------------------------------------------| |----------------------------------------------------------|--------------------------------------------------------------------------------|
| [CentOS](centos-installation-guide.md) | 8 | | [CentOS](centos-installation-guide.md) | 8 |
| [Fedora](fedora-installation-guide.md) | 32, Rawhide | | [Fedora](fedora-installation-guide.md) | 34 |
> **Note::** > **Note::**
> >

View File

@@ -3,15 +3,9 @@
1. Install the Kata Containers components with the following commands: 1. Install the Kata Containers components with the following commands:
```bash ```bash
$ sudo -E dnf install -y centos-release-advanced-virtualization
$ sudo -E dnf module disable -y virt:rhel
$ source /etc/os-release $ source /etc/os-release
$ cat <<EOF | sudo -E tee /etc/yum.repos.d/advanced-virt.repo
[advanced-virt]
name=Advanced Virtualization
baseurl=http://mirror.centos.org/\$contentdir/\$releasever/virt/\$basearch/advanced-virtualization
enabled=1
gpgcheck=1
skip_if_unavailable=1
EOF
$ cat <<EOF | sudo -E tee /etc/yum.repos.d/kata-containers.repo $ cat <<EOF | sudo -E tee /etc/yum.repos.d/kata-containers.repo
[kata-containers] [kata-containers]
name=Kata Containers name=Kata Containers
@@ -20,8 +14,7 @@
gpgcheck=1 gpgcheck=1
skip_if_unavailable=1 skip_if_unavailable=1
EOF EOF
$ sudo -E dnf module disable -y virt:rhel $ sudo -E dnf install -y kata-containers
$ sudo -E dnf install -y kata-runtime
``` ```
2. Decide which container manager to use and select the corresponding link that follows: 2. Decide which container manager to use and select the corresponding link that follows:

View File

@@ -3,7 +3,7 @@
1. Install the Kata Containers components with the following commands: 1. Install the Kata Containers components with the following commands:
```bash ```bash
$ sudo -E dnf -y install kata-runtime $ sudo -E dnf -y install kata-containers
``` ```
2. Decide which container manager to use and select the corresponding link that follows: 2. Decide which container manager to use and select the corresponding link that follows: