aboutsummaryrefslogtreecommitdiff
path: root/docker/macros.j2
diff options
context:
space:
mode:
authorMarcin Juszkiewicz <marcin.juszkiewicz@linaro.org>2019-11-21 17:14:09 +0100
committerMarcin Juszkiewicz <marcin.juszkiewicz@linaro.org>2019-11-29 11:38:06 +0100
commitcf11cd6f3d1f0f0d9e1bb948672be12171a4099b (patch)
tree389a9c5d535180801bd2547a38fd591d11e12720 /docker/macros.j2
parent9938857d7d331743d71328831241edf21e42d160 (diff)
downloadkolla-cf11cd6f3d1f0f0d9e1bb948672be12171a4099b.tar.gz
kolla-cf11cd6f3d1f0f0d9e1bb948672be12171a4099b.zip
Enable repos only when needed
Disable external repositories by default and enable only when needed. Depends-on: https://review.opendev.org/696480 Implements: blueprint repos-off-by-default Change-Id: Icf2a8397a8349e0fe849d88d160409fd234480a9
Diffstat (limited to 'docker/macros.j2')
-rw-r--r--docker/macros.j26
1 files changed, 6 insertions, 0 deletions
diff --git a/docker/macros.j2 b/docker/macros.j2
index aedb7b0b7..e66be0f6a 100644
--- a/docker/macros.j2
+++ b/docker/macros.j2
@@ -118,3 +118,9 @@ RUN apt-get update \
{% endfor %}
{%- endif %}
{%- endmacro %}
+
+{% macro enable_extra_repos(repos) %}
+
+{{ enable_repos(repos) }}
+
+{% endmacro %}