diff options
| author | Justin Riley <justin.t.riley@gmail.com> | 2015-05-01 12:44:07 -0400 |
|---|---|---|
| committer | Justin Riley <justin.t.riley@gmail.com> | 2015-05-12 11:23:52 -0400 |
| commit | 4443392f6e7315328880a2744cd89492045d8507 (patch) | |
| tree | 951c4f922e76efcd38438a23f34e07b8e00a43cc | |
| parent | 57990a94aeac87e2ba5e25848215dcd4a0dbb9e3 (diff) | |
| download | kolla-4443392f6e7315328880a2744cd89492045d8507.tar.gz kolla-4443392f6e7315328880a2744cd89492045d8507.zip | |
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
| -rwxr-xr-x | tools/init-runonce | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/init-runonce b/tools/init-runonce index b64c51893..3ab284d36 100755 --- a/tools/init-runonce +++ b/tools/init-runonce @@ -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 |
