Merge "Unhardcode dns server for ironic pxe network"

This commit is contained in:
Zuul 2019-02-16 17:36:18 +00:00 committed by Gerrit Code Review
commit 53aae7a481
2 changed files with 2 additions and 1 deletions

View File

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

View File

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