From 64fd772a329b1057e0304c3c838e9eca9f824f40 Mon Sep 17 00:00:00 2001 From: Alfredo Moralejo Date: Tue, 1 Feb 2022 11:38:25 +0100 Subject: [PATCH] Change RDO train repository for Centos 8 stream After removing Centos 8 repositories [1], the repository has been set to buildlogs server, which provides testing packages. This commit is switching back repository to mirror.centos.org once we have openvswitch in centos network and AFS mirrors. [1] https://www.centos.org/centos-linux-eol/ Change-Id: I6e0dd26312c593a5c7fe5525a733be8e26faec9d --- .../templates/zuul-multi-node-bridge-ovs.repo.j2 | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/roles/multi-node-bridge/templates/zuul-multi-node-bridge-ovs.repo.j2 b/roles/multi-node-bridge/templates/zuul-multi-node-bridge-ovs.repo.j2 index 5f41ab39a..7ebf73ed9 100644 --- a/roles/multi-node-bridge/templates/zuul-multi-node-bridge-ovs.repo.j2 +++ b/roles/multi-node-bridge/templates/zuul-multi-node-bridge-ovs.repo.j2 @@ -13,7 +13,11 @@ gpgkey=file:///tmp/RPM-GPG-KEY-CentOS-SIG-Cloud {% elif ansible_distribution in ['CentOS', 'RedHat'] and ansible_distribution_major_version|int == 8 %} [RDO-CentOS8-deps] name=CentOS OpenStack Train Repository -baseurl=https://buildlogs.centos.org/centos/8-stream/cloud/x86_64/openstack-train/ +{% if zuul_site_mirror_fqdn is defined %} +baseurl=http://{{ zuul_site_mirror_fqdn }}/centos/8-stream/cloud/$basearch/openstack-train/ +{% else %} +baseurl=http://mirror.centos.org/centos/8-stream/cloud/$basearch/openstack-train/ +{% endif %} gpgcheck=0 enabled=1 # TODO: Replace testing repo once C9 released repos as available. Currently Centos9 stream release