From 629fbd43598f0ebf2a68e3618ebe5df4d0fe848b Mon Sep 17 00:00:00 2001 From: Giovanni Geraci Date: Fri, 24 Apr 2020 19:06:42 +0200 Subject: [PATCH 1/2] 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 --- .../docs/setup/production-environment/container-runtimes.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/content/en/docs/setup/production-environment/container-runtimes.md b/content/en/docs/setup/production-environment/container-runtimes.md index cccf422587b60..37ba0513c9178 100644 --- a/content/en/docs/setup/production-environment/container-runtimes.md +++ b/content/en/docs/setup/production-environment/container-runtimes.md @@ -218,10 +218,12 @@ sudo apt-get install cri-o-1.17 {{< tab name="CentOS/RHEL 7.4+" codelang="bash" >}} # Install prerequisites -yum-config-manager --add-repo=https://cbs.centos.org/repos/paas7-crio-115-release/x86_64/os/ +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 + +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 # Install CRI-O -yum install --nogpgcheck -y cri-o +yum install -y cri-o {{< /tab >}} {{< tab name="openSUSE Tumbleweed" codelang="bash" >}} From b06e2af913ca8a91577cadce1f2b06b2efee36f6 Mon Sep 17 00:00:00 2001 From: Giovanni Geraci Date: Wed, 29 Apr 2020 12:40:16 +0200 Subject: [PATCH 2/2] Replaced [REQUIRED VERSION] with {{< skew latestVersion >}} --- .../en/docs/setup/production-environment/container-runtimes.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/content/en/docs/setup/production-environment/container-runtimes.md b/content/en/docs/setup/production-environment/container-runtimes.md index 37ba0513c9178..dd65080994efa 100644 --- a/content/en/docs/setup/production-environment/container-runtimes.md +++ b/content/en/docs/setup/production-environment/container-runtimes.md @@ -219,8 +219,7 @@ sudo apt-get install cri-o-1.17 {{< tab name="CentOS/RHEL 7.4+" codelang="bash" >}} # Install prerequisites 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 - -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 +curl -L -o /etc/yum.repos.d/devel:kubic:libcontainers:stable:cri-o:{{< skew latestVersion >}}.repo https://download.opensuse.org/repositories/devel:kubic:libcontainers:stable:cri-o:{{< skew latestVersion >}}/CentOS_7/devel:kubic:libcontainers:stable:cri-o:{{< skew latestVersion >}}.repo # Install CRI-O yum install -y cri-o