Skip to content

Commit e895527

Browse files
Merge pull request #906 from karelyatin/public_subnet
[edpm_deploy_instance] Update public subnet allocation pool
2 parents 8a88eed + a140f17 commit e895527

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

devsetup/scripts/edpm-deploy-instance.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,8 @@ openstack flavor show m1.small || \
3838
openstack network show private || openstack network create private --share
3939
openstack subnet show priv_sub || openstack subnet create priv_sub --subnet-range 192.168.0.0/24 --network private
4040
openstack network show public || openstack network create public --external --provider-network-type flat --provider-physical-network datacentre
41-
openstack subnet show pub_sub || \
42-
openstack subnet create pub_sub --subnet-range 192.168.122.0/24 --allocation-pool start=192.168.122.200,end=192.168.122.210 --gateway 192.168.122.1 --no-dhcp --network public
41+
openstack subnet show public_subnet || \
42+
openstack subnet create public_subnet --subnet-range 192.168.122.0/24 --allocation-pool start=192.168.122.171,end=192.168.122.250 --gateway 192.168.122.1 --dhcp --network public
4343
openstack router show priv_router || {
4444
openstack router create priv_router
4545
openstack router add subnet priv_router priv_sub

0 commit comments

Comments
 (0)