From db4f43956bf99474dee40876f67979690999e9cf Mon Sep 17 00:00:00 2001 From: Jesse Pretorius Date: Thu, 20 Sep 2018 12:10:18 +0100 Subject: [PATCH] MNAIO: Ensure consistent defaults The DNS_NAMESERVER environment variable in the service setup script does not have a default. We ensure that it does using the same default as the playbooks/group_vars. Change-Id: I451ffd029c73b2d0613f53b7b4e21f38e43d3d7c --- multi-node-aio/playbooks/osa/service-setup.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/multi-node-aio/playbooks/osa/service-setup.sh b/multi-node-aio/playbooks/osa/service-setup.sh index ea6d674c..288eb0f7 100644 --- a/multi-node-aio/playbooks/osa/service-setup.sh +++ b/multi-node-aio/playbooks/osa/service-setup.sh @@ -56,7 +56,7 @@ neutron subnet-create GATEWAY_NET ${NETWORK_BASE}.248.0/22 \ --name GATEWAY_NET_SUBNET \ --gateway ${NETWORK_BASE}.248.1 \ --allocation-pool start=${NETWORK_BASE}.248.201,end=${NETWORK_BASE}.248.255 \ - --dns-nameservers list=true ${DNS_NAMESERVER} + --dns-nameservers list=true ${DNS_NAMESERVER:-8.8.8.8} # Neutron private network setup neutron net-create PRIVATE_NET \