From 157b94bd4535a9da7ab16ae4dff2bae868bcfeba Mon Sep 17 00:00:00 2001 From: Takashi Kajinami Date: Fri, 3 Sep 2021 23:13:01 +0900 Subject: [PATCH] Use local mirror to pull CentOS packages The delorean-deps.repo file includes repositories hosted by CentOS mirror. We should replace repository url to use local mirror instead of external one in CI. Change-Id: I940e48f6037e5bf3147f7f8e2fc9663947ce0de2 (cherry picked from commit 0d76f354d57e465ac84e599dcfa0dbea87572498) (cherry picked from commit bd7b0fea1f057ddee5455ccbd98a85eb415b0dbb) --- configure_facts.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/configure_facts.sh b/configure_facts.sh index 08e07139b..f57eaac63 100644 --- a/configure_facts.sh +++ b/configure_facts.sh @@ -75,6 +75,7 @@ curl -o /tmp/delorean.repo "${NODEPOOL_RDO_PROXY}/centos8-victoria/puppet-passed sed -i -e "s|https://trunk.rdoproject.org|${NODEPOOL_RDO_PROXY}|g" /tmp/delorean.repo curl -o /tmp/delorean-deps.repo "${NODEPOOL_RDO_PROXY}/centos8-victoria/delorean-deps.repo" sed -i -e "s|https://trunk.rdoproject.org|${NODEPOOL_RDO_PROXY}|g" /tmp/delorean-deps.repo +sed -i -e "s|http://mirror.centos.org|${CENTOS_MIRROR_HOST}|g" /tmp/delorean-deps.repo export FACTER_nodepool_mirror_host=$NODEPOOL_MIRROR_HOST export FACTER_centos_mirror_host=$CENTOS_MIRROR_HOST