summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorMark Goddard <mark@stackhpc.com>2019-11-04 10:20:45 +0000
committerMark Goddard <mark@stackhpc.com>2019-11-26 10:22:06 +0000
commit6c86915597c00da845bbfa433e897b1573f50c70 (patch)
treee117d3b85950a56f04ad7917cec2c1f7de54538a /tools
parenteab2e2b6c13c138ce4bb8fd8425a97c5800ff7a4 (diff)
downloadkolla-6c86915597c00da845bbfa433e897b1573f50c70.tar.gz
kolla-6c86915597c00da845bbfa433e897b1573f50c70.zip
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
Diffstat (limited to 'tools')
-rwxr-xr-xtools/setup_RedHat.sh9
1 files changed, 2 insertions, 7 deletions
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