summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--deploy/conf/base.conf3
-rw-r--r--deploy/config_parse.py3
2 files changed, 3 insertions, 3 deletions
diff --git a/deploy/conf/base.conf b/deploy/conf/base.conf
index 540efec7..f009a4ac 100644
--- a/deploy/conf/base.conf
+++ b/deploy/conf/base.conf
@@ -1,3 +1,6 @@
+export DHA=${DHA:-$COMPASS_DIR/deploy/conf/vm_environment/os-nosdn-nofeature-ha.yml}
+export NEUTRON=${NEUTRON:-$COMPASS_DIR/deploy/conf/neutron_cfg.yaml}
+export NETWORK=${NETWORK:-$COMPASS_DIR/deploy/conf/network_cfg.yaml}
export ISO_URL=${ISO_URL:-file://`pwd`/work/building/compass.iso}
export INSTALL_IP=${INSTALL_IP:-10.1.0.12}
export INSTALL_MASK=${INSTALL_MASK:-255.255.255.0}
diff --git a/deploy/config_parse.py b/deploy/config_parse.py
index 63269f3b..21fe76d3 100644
--- a/deploy/config_parse.py
+++ b/deploy/config_parse.py
@@ -40,9 +40,6 @@ def export_config_file(s, config_file, conf_dir, ofile):
if env.get('hosts', []):
env.pop('hosts')
- env.update({'NEUTRON': os.path.join(conf_dir, "neutron_cfg.yaml")})
- env.update({'NETWORK': os.path.join(conf_dir, "network_cfg.yaml")})
-
env.update({'TYPE': s.get('TYPE', "virtual")})
env.update({'FLAVOR': s.get('FLAVOR', "cluster")})
env.update({'HOSTNAMES': hostnames(s, ',')})