summaryrefslogtreecommitdiff
path: root/kolla/common
diff options
context:
space:
mode:
authorMarcin Juszkiewicz <marcin.juszkiewicz+kolla@linaro.org>2022-06-01 17:16:22 +0200
committerMarcin Juszkiewicz <marcin.juszkiewicz+kolla@linaro.org>2022-06-02 11:46:38 +0200
commit213190ae030e9971225ea3f103b4be0a7f2532d4 (patch)
treee803bb72353a63292a0fa21657f8bc1d2c1385f4 /kolla/common
parentd424a63d6049d8d241ab1294aea035d4b187a111 (diff)
downloadkolla-213190ae030e9971225ea3f103b4be0a7f2532d4.tar.gz
kolla-213190ae030e9971225ea3f103b4be0a7f2532d4.zip
Allow to provide own repos.yaml file
Several people use Kolla behind firewall/proxy. Internal mirrors are often in use then. We do not provide a way to replace repos.yaml file in an easy way which may lead to complicated solutions or template overrides. This patch adds a way to provide own copy of repos.yaml file. Change-Id: I0b07da22fea27e0ff4e90aaad19e50d84ff9a121
Diffstat (limited to 'kolla/common')
-rwxr-xr-xkolla/common/config.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/kolla/common/config.py b/kolla/common/config.py
index 1cfdebdd3..78c9f2fcd 100755
--- a/kolla/common/config.py
+++ b/kolla/common/config.py
@@ -251,6 +251,8 @@ _CLI_OPTS = [
help='Show summary at the end of build'),
cfg.StrOpt('image-name-prefix', default='',
help='Prefix prepended to image names'),
+ cfg.StrOpt('repos-yaml', default='',
+ help='Path to alternative repos.yaml file'),
]
_BASE_OPTS = [