diff options
| author | Michal Nasiadka <mnasiadka@gmail.com> | 2020-04-01 12:51:46 +0200 |
|---|---|---|
| committer | Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org> | 2020-04-03 11:23:40 +0200 |
| commit | 1a28aefec8d3f9c2d6a5bf77a040a81edc94b3ac (patch) | |
| tree | 14ae8b289ee907d4333a9292eda10a79074e6420 /tests | |
| parent | 69f74554671a49c75bebeeed9d83816ffbd7efec (diff) | |
| download | kolla-1a28aefec8d3f9c2d6a5bf77a040a81edc94b3ac.tar.gz kolla-1a28aefec8d3f9c2d6a5bf77a040a81edc94b3ac.zip | |
CI: Add https match for mirror.centos.org to template-overrides
Some CentOS repos (currently one - Ceph NFS Ganesha) use
https://mirror.centos.org instead of http:// and we break
their definition by removing mirrorlist= entry and not inserting baseurl
entry due to a missing match.
Change-Id: I7b29f8c6be80820042023d2b85162d5cc9a65f08
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/templates/template_overrides.j2 | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/templates/template_overrides.j2 b/tests/templates/template_overrides.j2 index 57db87c53..d7ea2dcb9 100644 --- a/tests/templates/template_overrides.j2 +++ b/tests/templates/template_overrides.j2 @@ -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" \ |
