aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZuul <zuul@review.openstack.org>2018-04-03 10:13:07 +0000
committerGerrit Code Review <review@openstack.org>2018-04-03 10:13:07 +0000
commit6a3c5c58fe276e551c240b8a0dada1f4e471f819 (patch)
tree54e8de64ccf6e681d19ba3b8687ddb1fecae5180
parent147523d60c34ac245dd648cb09e4ace0dbda5649 (diff)
parentad8666f5a0ddb1714c10ef91db71f5eb23698881 (diff)
downloadkolla-6a3c5c58fe276e551c240b8a0dada1f4e471f819.tar.gz
kolla-6a3c5c58fe276e551c240b8a0dada1f4e471f819.zip
Merge "Revert "Seem there are some wrong in infra ubuntu repo""
-rw-r--r--tests/templates/template_overrides.j29
1 files changed, 4 insertions, 5 deletions
diff --git a/tests/templates/template_overrides.j2 b/tests/templates/template_overrides.j2
index 987af5da3..9bc50fd0c 100644
--- a/tests/templates/template_overrides.j2
+++ b/tests/templates/template_overrides.j2
@@ -63,11 +63,10 @@ RUN sed -i -e "/^mirrorlist/d" \
{% elif base_distro == "ubuntu" %}
{% endraw %}
-# TODO(jeffrey4l): seem the current infra repo has some issue, revert this when it is OK.
-#RUN sed -i -e "s|http://archive.ubuntu.com|http://{{ nodepool_mirror_host }}|" \
-# -e "s|http://ubuntu-cloud.archive.canonical.com/ubuntu|http://{{ nodepool_mirror_host }}/ubuntu-cloud-archive|" \
-# /etc/apt/sources.list \
-# && apt-get update
+RUN sed -i -e "s|http://archive.ubuntu.com|http://{{ nodepool_mirror_host }}|" \
+ -e "s|http://ubuntu-cloud.archive.canonical.com/ubuntu|http://{{ nodepool_mirror_host }}/ubuntu-cloud-archive|" \
+ /etc/apt/sources.list \
+ && apt-get update
{% raw %}
{% endif %}