aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorZuul <zuul@review.opendev.org>2020-01-14 12:00:45 +0000
committerGerrit Code Review <review@openstack.org>2020-01-14 12:00:45 +0000
commitacfda84bc1f8922c755c52c13f9ed64c02aac6d2 (patch)
treec5daab99aa5c777a6af32c67690f5d8a53b5e9ba /tests
parent440691eaa087855e8151dd1013c34907d9f8c7f3 (diff)
parent02c7efd42d072107d086f3d0885e4a19073cec5a (diff)
downloadkolla-acfda84bc1f8922c755c52c13f9ed64c02aac6d2.tar.gz
kolla-acfda84bc1f8922c755c52c13f9ed64c02aac6d2.zip
Merge "Ubuntu: use local APT mirrors if possible"
Diffstat (limited to 'tests')
-rw-r--r--tests/templates/template_overrides.j22
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/templates/template_overrides.j2 b/tests/templates/template_overrides.j2
index 515ae63ce..c25ddb928 100644
--- a/tests/templates/template_overrides.j2
+++ b/tests/templates/template_overrides.j2
@@ -75,7 +75,7 @@ RUN sed -i -e "s|http://deb.debian.org|http://{{ nodepool_mirror_host }}|" \
{% elif base_distro == "ubuntu" %}
{% endraw %}
-RUN sed -i -e "s|http://archive.ubuntu.com|http://{{ nodepool_mirror_host }}|" \
+RUN sed -i -e "s|mirror://mirrors.ubuntu.com/mirrors.txt|http://{{ nodepool_mirror_host }}/ubuntu/|" \
-e "s|http://ubuntu-cloud.archive.canonical.com/ubuntu|http://{{ nodepool_mirror_host }}/ubuntu-cloud-archive|" \
/etc/apt/sources.list