Unhardcode dns server for ironic pxe network

Is configurable in tempest chart but not ironic

Change-Id: I029258a5f2cd33d5770f006ea212afb8310228fd
This commit is contained in:
Pavlo Shchelokovskyy 2019-02-12 15:07:33 +00:00 committed by Pavlo Shchelokovskyy
parent 65df9acaf8
commit 7844ecec38
2 changed files with 2 additions and 1 deletions

@ -40,7 +40,7 @@ if [ "x${SUBNET_EXISTS}" != "xtrue" ]; then
openstack subnet create \ openstack subnet create \
--gateway ${neutron_subnet_gateway%/*} \ --gateway ${neutron_subnet_gateway%/*} \
--allocation-pool start=${neutron_subnet_alloc_start},end=${neutron_subnet_alloc_end} \ --allocation-pool start=${neutron_subnet_alloc_start},end=${neutron_subnet_alloc_end} \
--dns-nameserver 10.96.0.10 \ --dns-nameserver ${neutron_subnet_dns_nameserver} \
--subnet-range ${neutron_subnet_cidr} \ --subnet-range ${neutron_subnet_cidr} \
--network ${neutron_network_name} \ --network ${neutron_network_name} \
${neutron_subnet_name} ${neutron_subnet_name}

@ -206,6 +206,7 @@ network:
neutron_subnet_cidr: 172.24.6.0/24 neutron_subnet_cidr: 172.24.6.0/24
neutron_subnet_alloc_start: 172.24.6.100 neutron_subnet_alloc_start: 172.24.6.100
neutron_subnet_alloc_end: 172.24.6.200 neutron_subnet_alloc_end: 172.24.6.200
neutron_subnet_dns_nameserver: 10.96.0.10
api: api:
ingress: ingress:
public: true public: true