From 6c86915597c00da845bbfa433e897b1573f50c70 Mon Sep 17 00:00:00 2001 From: Mark Goddard Date: Mon, 4 Nov 2019 10:20:45 +0000 Subject: CI: Move to CentOS 8 nodepool images This change modifies the CentOS build CI jobs to use a CentOS 8 host image. NOTE: This does not affect the version of CentOS used as the base image in containers built by kolla. Partially-Implements: blueprint centos-rhel-8 Partially-Implements: blueprint centos-rhel-python3 Change-Id: Ie25b54a4e6116ed2bcb9c3b5c44eb6edbd2e6b49 --- tools/setup_RedHat.sh | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) (limited to 'tools') diff --git a/tools/setup_RedHat.sh b/tools/setup_RedHat.sh index 465944194..50cd81ff4 100755 --- a/tools/setup_RedHat.sh +++ b/tools/setup_RedHat.sh @@ -3,21 +3,16 @@ set -o xtrace set -o errexit -# (SamYaple)TODO: Remove the path overriding -export PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" - sudo tee /etc/yum.repos.d/docker-ce-stable.repo << EOF [docker-ce-stable] baseurl=$DOCKER_REPOS_MIRROR_URL/centos/7/\$basearch/stable enabled=1 gpgcheck=1 gpgkey=$DOCKER_REPOS_MIRROR_URL/centos/gpg +module_hotfixes=True EOF -sudo yum -y install docker-ce python3 - -# Disable SELinux -setenforce 0 +sudo dnf -y install docker-ce sudo systemctl start docker sudo docker info -- cgit v1.2.3