aboutsummaryrefslogtreecommitdiff
path: root/kolla/image
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/image
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/image')
-rwxr-xr-xkolla/image/build.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/kolla/image/build.py b/kolla/image/build.py
index 0808afc84..f87c43292 100755
--- a/kolla/image/build.py
+++ b/kolla/image/build.py
@@ -611,6 +611,7 @@ class KollaWorker(object):
self.use_dumb_init = conf.use_dumb_init
self.base_tag = conf.base_tag
self.tag = conf.tag
+ self.repos_yaml = conf.repos_yaml
self.base_arch = conf.base_arch
self.debian_arch = self.base_arch
if self.base_arch == 'aarch64':
@@ -829,6 +830,7 @@ class KollaWorker(object):
'base_image': self.conf.base_image,
'base_distro_tag': self.base_tag,
'base_arch': self.base_arch,
+ 'repos_yaml': self.repos_yaml,
'use_dumb_init': self.use_dumb_init,
'base_package_type': self.base_package_type,
'debian_arch': self.debian_arch,