mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-06-25 23:11:57 +00:00
docs: Update CentOS install docs
There are two changes here. There first one being relying on the `centos-release-advanced-virtualization` package instead providing the content of the repo ourselves; and the second one being installing `kata-containers` (2.x) instead of the `kata-runtime` one (1.x). Fixes: #1583 Signed-off-by: Fabiano Fidêncio <fidencio@redhat.com>
This commit is contained in:
parent
3f90561bf1
commit
1ce29fc959
@ -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:
|
||||||
|
Loading…
Reference in New Issue
Block a user