From febfd4e71ab0d1aed65ce92a8004b00e36cc7d60 Mon Sep 17 00:00:00 2001 From: "Michal (inc0) Jastrzebski" Date: Thu, 5 Jan 2017 22:05:30 +0000 Subject: Support for multiple override files To use multiple override files run --template-override f1 --template-override f2. One caveat is it won't work well if both modify same variable/block. One will override another, so if both overrides tries to add pkg to horizon tpl, only second package gets installed Change-Id: I8d2937c2dad83d3ec94efa6d9c9849a922c0cef6 --- kolla/common/config.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'kolla/common') diff --git a/kolla/common/config.py b/kolla/common/config.py index 8be553b10..c2d8a5e0a 100755 --- a/kolla/common/config.py +++ b/kolla/common/config.py @@ -203,8 +203,8 @@ _CLI_OPTS = [ help=("Don't build images. Generate Dockerfile only")), cfg.IntOpt('timeout', default=120, help='Time in seconds after which any operation times out'), - cfg.StrOpt('template-override', - help='Path to template override file'), + cfg.MultiOpt('template-override', types.String(), + help='Path to template override file'), cfg.StrOpt('logs-dir', help='Path to logs directory'), cfg.BoolOpt('pull', default=True, help='Attempt to pull a newer version of the base image.'), -- cgit v1.2.3