From 8b38c4d5c9f62b7cb42d8e885cea56f188ab9110 Mon Sep 17 00:00:00 2001 From: Javier Pena Date: Fri, 17 Feb 2017 17:48:47 +0100 Subject: Add work-dir command-line option The working directory was previously generated as a temporary one, but there may be cases when we want to specify a directory, for example if we want to generate the Dockerfiles and then do some parsing on them. Change-Id: Ic332328913924bcb3d0dfa4d473e796050fc14b3 --- kolla/common/config.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'kolla/common') diff --git a/kolla/common/config.py b/kolla/common/config.py index 30f679880..c47c3c660 100755 --- a/kolla/common/config.py +++ b/kolla/common/config.py @@ -217,6 +217,8 @@ _CLI_OPTS = [ 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.'), + cfg.StrOpt('work-dir', help='Path to be used as working directory.' + 'By default, a temporary dir is created.'), ] _BASE_OPTS = [ -- cgit v1.2.3