Merge "CI: Add https match for mirror.centos.org to template-overrides"

This commit is contained in:
Zuul 2020-04-03 12:53:31 +00:00 committed by Gerrit Code Review
commit 3da0aaa845
1 changed files with 3 additions and 0 deletions

View File

@ -69,6 +69,9 @@ RUN sed -i \
&& sed -i \
-e "/^mirrorlist/ d" \
-e "s|^#baseurl=http://mirror.centos.org|baseurl=http://{{ nodepool_mirror_host }}|" \
-e "s|^#baseurl=https://mirror.centos.org|baseurl=http://{{ nodepool_mirror_host }}|" \
-e "s|^baseurl=http://mirror.centos.org|baseurl=http://{{ nodepool_mirror_host }}|" \
-e "s|^baseurl=https://mirror.centos.org|baseurl=http://{{ nodepool_mirror_host }}|" \
/etc/yum.repos.d/CentOS-*.repo \
&& sed -i \
-e "/^metalink/ d" \