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
This commit is contained in:
Jesse Pretorius 2018-09-20 12:10:18 +01:00
parent b0ead67f54
commit db4f43956b

View File

@ -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 \