Remove centos7 RT repo from centos8 builds

https://bugs.launchpad.net/tripleo/+bug/1881742

Depends-On: https://review.opendev.org/#/c/730763

Change-Id: Id2a75c8e5c4c3ea1b6954c8df2f619d6fd185260
Closes-Bug: #1881742
This commit is contained in:
Rafael Folco 2020-06-02 10:08:16 -03:00
parent 4c69eadf85
commit f14ac999fb
1 changed files with 1 additions and 1 deletions

View File

@ -6,7 +6,7 @@ fi
set -eu
set -o pipefail
if [[ "$DISTRO_NAME" == *"centos"* ]]; then
if [[ "$DISTRO_NAME" == *"centos7"* ]]; then
current_rt_repo=$(yum repolist all|grep "centos7-rt" |awk '{print $1}'| head -n 1 || true)
if [[ "$current_rt_repo" == "" ]]; then
cat << EOF > /etc/yum.repos.d/centos7-rt.repo