Skip to content

Commit 629fbd4

Browse files
authored
Update crio installation steps for CentOS/RHEL
Hi, crio installation steps for CentOS/RHEL distribution are not valid anymore(CBS repo does not exist anymore) I'm updating the documentation following the exactly same instructions reported on crio official repository
1 parent fa60eb7 commit 629fbd4

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

content/en/docs/setup/production-environment/container-runtimes.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -218,10 +218,12 @@ sudo apt-get install cri-o-1.17
218218

219219
{{< tab name="CentOS/RHEL 7.4+" codelang="bash" >}}
220220
# Install prerequisites
221-
yum-config-manager --add-repo=https://cbs.centos.org/repos/paas7-crio-115-release/x86_64/os/
221+
curl -L -o /etc/yum.repos.d/devel:kubic:libcontainers:stable.repo https://download.opensuse.org/repositories/devel:kubic:libcontainers:stable/CentOS_7/devel:kubic:libcontainers:stable.repo
222+
223+
curl -L -o /etc/yum.repos.d/devel:kubic:libcontainers:stable:cri-o:[REQUIRED VERSION].repo https://download.opensuse.org/repositories/devel:kubic:libcontainers:stable:cri-o:[REQUIRED VERSION]/CentOS_7/devel:kubic:libcontainers:stable:cri-o:[REQUIRED VERSION].repo
222224

223225
# Install CRI-O
224-
yum install --nogpgcheck -y cri-o
226+
yum install -y cri-o
225227
{{< /tab >}}
226228

227229
{{< tab name="openSUSE Tumbleweed" codelang="bash" >}}

0 commit comments

Comments
 (0)