Rely on overcloud-prep-network to configure DNS
There is no need to duplicate what the overcloud-prep-network role is already doing. Change-Id: I21a824cb1e5ad8b0d87757d1fce1a23db29ff219
This commit is contained in:
parent
69498a60bf
commit
c81bd0d276
|
@ -20,9 +20,6 @@ enable_pacemaker: false
|
|||
overcloud_ipv6: false
|
||||
|
||||
containerized_overcloud: true
|
||||
# 192.168.23.1 is the dns server on the virthost
|
||||
# 8.8.8.8 also works across virthost and ovb env
|
||||
containers_compute_dns_server: 8.8.8.8
|
||||
|
||||
# This enables TLS for the undercloud which will also make haproxy bind to the
|
||||
# configured public-vip and admin-vip.
|
||||
|
|
|
@ -12,21 +12,6 @@ set -eux
|
|||
## Prepare Your Environment
|
||||
## ------------------------
|
||||
|
||||
## * Source in the undercloud credentials.
|
||||
## ::
|
||||
|
||||
source {{ working_dir }}/stackrc
|
||||
cd {{ working_dir }}
|
||||
|
||||
## * Set the DNS Server for neutron
|
||||
## ::
|
||||
|
||||
subnet_uuid=`neutron subnet-list | grep 192.168.24 | awk '{ print $2 }'`
|
||||
echo $subnet_uuid
|
||||
neutron subnet-update $subnet_uuid --dns-nameserver {{ containers_compute_dns_server }}
|
||||
neutron subnet-show $subnet_uuid
|
||||
|
||||
|
||||
## * Populate the docker registery
|
||||
## ::
|
||||
|
||||
|
|
Loading…
Reference in New Issue