From 070bf258357c85a7b4411dc97f75df7d19e9792c Mon Sep 17 00:00:00 2001 From: Jeffrey Zhang Date: Fri, 6 May 2016 17:30:47 +0800 Subject: Support a custom base image Add a new option(base-image) to support custom base image In default, the base-image is equal to base. When using custom image, please use command line like: ./tool/build.py --base-image my-image --base centos --base-tag 0.1 DocImpact Closes-Bug: #1573544 Change-Id: If4b9c57a2b68f6f06d3e981f30b2173064e02193 --- kolla/cmd/build.py | 1 + 1 file changed, 1 insertion(+) (limited to 'kolla/cmd') diff --git a/kolla/cmd/build.py b/kolla/cmd/build.py index 9b818cb1d..b24cd9282 100755 --- a/kolla/cmd/build.py +++ b/kolla/cmd/build.py @@ -479,6 +479,7 @@ class KollaWorker(object): loader=jinja2.FileSystemLoader(path)) template = env.get_template(template_name) values = {'base_distro': self.base, + 'base_image': self.conf.base_image, 'base_distro_tag': self.base_tag, 'install_metatype': self.install_metatype, 'image_prefix': self.image_prefix, -- cgit v1.2.3