diff options
| author | Justin Riley <justin.t.riley@gmail.com> | 2015-05-01 12:44:07 -0400 |
|---|---|---|
| committer | Steven Dake <stdake@cisco.com> | 2015-05-27 12:49:08 -0700 |
| commit | 87f96b8b181a90bfa57ce0ca26a89bbdd7cc2af8 (patch) | |
| tree | 1c6ab14f8709484de1e64d1dfa3634be9ef2400a /tools | |
| parent | 0fffc8d650f79dd739998880a86510487f4f5e99 (diff) | |
| download | kolla-87f96b8b181a90bfa57ce0ca26a89bbdd7cc2af8.tar.gz kolla-87f96b8b181a90bfa57ce0ca26a89bbdd7cc2af8.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
(cherry picked from commit 4443392f6e7315328880a2744cd89492045d8507)
Diffstat (limited to 'tools')
| -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 |
