diff options
| author | Jeffrey Zhang <jeffrey.zhang@99cloud.net> | 2018-02-26 07:37:55 +0000 |
|---|---|---|
| committer | Jeffrey Zhang <jeffrey.zhang@99cloud.net> | 2018-02-26 07:37:55 +0000 |
| commit | ad8666f5a0ddb1714c10ef91db71f5eb23698881 (patch) | |
| tree | 6947b354b40a6d91752d822cb91932ba0666d25b /tests | |
| parent | 7b562990b5b717bb83d56673b368de9b355bb315 (diff) | |
| download | kolla-ad8666f5a0ddb1714c10ef91db71f5eb23698881.tar.gz kolla-ad8666f5a0ddb1714c10ef91db71f5eb23698881.zip | |
Revert "Seem there are some wrong in infra ubuntu repo"
This reverts commit 7b562990b5b717bb83d56673b368de9b355bb315.
Change-Id: Id5f0e9532a7714a18125832d4f38bbe7bb849c84
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/templates/template_overrides.j2 | 9 |
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 %} |
