diff --git a/tools/init-runonce b/tools/init-runonce index 0cb06d6889..dcbb13ae09 100755 --- a/tools/init-runonce +++ b/tools/init-runonce @@ -85,7 +85,7 @@ if [[ $ENABLE_EXT_NET -eq 1 ]]; then --subnet-range ${EXT_NET_CIDR} --gateway ${EXT_NET_GATEWAY} public1-subnet fi -$KOLLA_OPENSTACK_COMMAND network create --provider-network-type vxlan demo-net +$KOLLA_OPENSTACK_COMMAND network create demo-net $KOLLA_OPENSTACK_COMMAND subnet create --subnet-range 10.0.0.0/24 --network demo-net \ --gateway 10.0.0.1 --dns-nameserver 8.8.8.8 demo-subnet