path: root/lib/
diff options
authorTim Rozet <>2016-07-19 12:41:17 -0400
committerTim Rozet <>2016-07-19 14:56:10 -0400
commit9dbe4eb096c7f20d4375bd298968f42a10914b0e (patch)
tree6c0b3efc50214cfad8b0d6c6d4f3c4aeff9553d3 /lib/
parent40925d0cdc63e557ef04569642875cd07b8ed7ce (diff)
Allows specifying domain name for overcloud/undercloud
Can be set by setting domain_name in network_settings. Defaults to dummy JIRA: APEX-183 JIRA: APEX-182 Change-Id: Ib7c279a1c8432b8635f72e5cc667f16b9cd65159 Signed-off-by: Tim Rozet <>
Diffstat (limited to 'lib/')
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/ b/lib/
index 992d22a..41aaf26 100755
--- a/lib/
+++ b/lib/
@@ -230,6 +230,7 @@ for dns_server in ${dns_servers}; do
dns_server_ext="\${dns_server_ext} --dns-nameserver \${dns_server}"
neutron subnet-update \$(neutron subnet-list | grep -Ev "id|tenant|external|storage" | grep -v \\\\-\\\\- | awk {'print \$2'}) \${dns_server_ext}
+sed -i '/CloudDomain:/c\ CloudDomain: '${domain_name} opnfv-environment.yaml
echo "Executing overcloud deployment, this should run for an extended period without output."
sleep 60 #wait for Hypervisor stats to check-in to nova
# save deploy command so it can be used for debugging