fix net-create call for public1 in tools/init-runonce

The --router:external option is a boolean flag that doesn't take a value
(neutron client version 2.5.0). Passing True results in the following
error:

Invalid values_specs True

This patch simply removes the 'True' value.

Change-Id: If4b5305f37d50c14c767393eb21223b0e0b59494
This commit is contained in:
Justin Riley 2015-05-01 12:44:07 -04:00
parent 57990a94ae
commit 4443392f6e

View File

@ -43,7 +43,7 @@ if [[ "${NETWORK_MANAGER}" == "nova" ]] ; then
nova network-create vmnet --fixed-range-v4=10.0.0.0/24 --bridge=br100 --multi-host=T
else
echo Configuring neutron.
neutron net-create public1 --router:external True --provider:physical_network physnet1 --provider:network_type flat
neutron net-create public1 --router:external --provider:physical_network physnet1 --provider:network_type flat
neutron subnet-create --name 1-subnet --disable-dhcp --allocation-pool start=10.0.2.150,end=10.0.2.199 public1 10.0.2.0/24 --gateway 10.0.2.1
neutron net-create demo-net --provider:network_type vxlan --provider:segmentation_id 10
neutron subnet-create demo-net --name demo-subnet --gateway 10.0.0.1 10.0.0.0/24 --dns_nameservers list=true 8.8.8.8