diff options
| author | Michal Nasiadka <mnasiadka@gmail.com> | 2020-04-01 12:51:46 +0200 |
|---|---|---|
| committer | Bharat Kunwar <bharat@stackhpc.com> | 2020-04-03 11:11:48 +0000 |
| commit | 169b3aa7c3569194b33747403fee4535044885ff (patch) | |
| tree | 12970a71715b6daf61d0f361442e116108c3c213 /tests | |
| parent | b912f94c5d69203d5f53291c2c96fb67a5a9aab0 (diff) | |
| download | kolla-169b3aa7c3569194b33747403fee4535044885ff.tar.gz kolla-169b3aa7c3569194b33747403fee4535044885ff.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
(cherry picked from commit 1a28aefec8d3f9c2d6a5bf77a040a81edc94b3ac)
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 7055e18de..40241d43a 100644 --- a/tests/templates/template_overrides.j2 +++ b/tests/templates/template_overrides.j2 @@ -58,6 +58,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" \ |
