aboutsummaryrefslogtreecommitdiffstats
path: root/deploy/client.py
diff options
context:
space:
mode:
Diffstat (limited to 'deploy/client.py')
-rw-r--r--deploy/client.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/deploy/client.py b/deploy/client.py
index 33d987ee..84041af5 100644
--- a/deploy/client.py
+++ b/deploy/client.py
@@ -216,6 +216,9 @@ opts = [
cfg.StrOpt('repo_name',
help='repo name',
default=''),
+ cfg.StrOpt('deploy_type',
+ help='deploy type',
+ default='virtual'),
]
CONF.register_cli_opts(opts)
@@ -418,6 +421,7 @@ class CompassClient(object):
https_proxy = CONF.https_proxy
local_repo_url = CONF.local_repo_url
repo_name = CONF.repo_name
+ deploy_type = CONF.deploy_type
if not https_proxy and http_proxy:
https_proxy = http_proxy
@@ -479,6 +483,8 @@ class CompassClient(object):
general_config['local_repo'] = local_repo_url
if repo_name:
general_config['repo_name'] = repo_name
+ if deploy_type:
+ general_config['deploy_type'] = deploy_type
os_config["general"] = general_config