Browse Source

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
(cherry picked from commit f14ac999fb)
changes/54/738154/1
Rafael Folco 1 month ago
parent
commit
4eca5b71cf
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      elements/overcloud-compute/pre-install.d/03-centos-rt

+ 1
- 1
elements/overcloud-compute/pre-install.d/03-centos-rt 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


Loading…
Cancel
Save