diff options
| author | Zuul <zuul@review.opendev.org> | 2025-10-02 16:05:25 +0000 |
|---|---|---|
| committer | Gerrit Code Review <review@openstack.org> | 2025-10-02 16:05:25 +0000 |
| commit | 57590d07af3174034c15743178c3ed1d2b31750b (patch) | |
| tree | 5fc5f5048eb4a9c2dc355a00796219726808e7a0 /tests | |
| parent | 5b2b5e705e02de05cf1e6c749b3d116bf3622e08 (diff) | |
| parent | 806602e488240deb87bdf1c8ce00973ca8ec914d (diff) | |
| download | kolla-57590d07af3174034c15743178c3ed1d2b31750b.tar.gz kolla-57590d07af3174034c15743178c3ed1d2b31750b.zip | |
Merge "Add support for rpm to repos.yaml"
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/templates/template_overrides.j2 | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/tests/templates/template_overrides.j2 b/tests/templates/template_overrides.j2 index 003e8005b..d9d89b3e0 100644 --- a/tests/templates/template_overrides.j2 +++ b/tests/templates/template_overrides.j2 @@ -65,18 +65,7 @@ RUN if [ -f /usr/etc/npmrc ]; then \ fi \ && rm -f /etc/npmrc -{% if base_distro in ['centos', 'rocky'] %} -{# NOTE(hrw): Some images have two footer blocks. - For example neutron-infobox-ipam-agent being - child of neutron-server. -#} -RUN if [ -d /etc/yum.repos.d/not-for-ci/ ]; then \ - cd /etc/yum.repos.d/ && \ - rm ci-{{ base_distro }}.repo && \ - mv not-for-ci/*.repo . && \ - rm -rf not-for-ci; \ - fi; -{% elif base_distro == "debian" %} +{% if base_distro == "debian" %} RUN sed -i -e "s|\[trusted=yes\] http://{{ nodepool_mirror_host }}|http://deb.debian.org|" \ -e "s|\[trusted=yes\] http://{{ nodepool_mirror_host }}|http://security.debian.org|" \ /etc/apt/sources.list |
