]> review.fuel-infra Code Review - openstack-build/heat-build.git/commitdiff
tools/openstack_ubuntu fix nova-manage network create command
authorSteven Hardy <shardy@redhat.com>
Mon, 17 Dec 2012 10:51:37 +0000 (10:51 +0000)
committerSteven Hardy <shardy@redhat.com>
Mon, 17 Dec 2012 11:33:54 +0000 (11:33 +0000)
Command for creating nova network is wrong, as tested on 12.04

ref bug 1083507
Signed-off-by: Steven Hardy <shardy@redhat.com>
Change-Id: I41ae9370c42a0e9b7df4d1810e0f90f32bd87bba

tools/openstack_ubuntu

index ddf44ad307486866f0259c5c1ba599e33027e4d8..51ca79190f2990e005154879e4050abff37b7602 100755 (executable)
@@ -306,11 +306,12 @@ EOF
     echo "note: This tool does not create a network.  Creating a network"
     echo "depends on your environment.  An example network create operation:"
     echo
-    echo "  sudo nova-manage network create --label=demonet --fixed_range_v4=192.168.250.0/24 --bridge_interface=demonetbr0"
+    echo "  sudo nova-manage network create --label=demonet --fixed_range_v4=10.0.0.0/24 --bridge=demonetbr0 --bridge_interface=eth0"
     echo
     echo -e "The network range here should *not* be one used on your existing physical\n network."
     echo "It should be a range dedicated for the network that OpenStack will configure."
     echo "If 10.0.0.0/24 clashes with your local network, pick another range."
+    echo "--bridge_interface argument should be a physical device to be bridged, eth0 in this example"
 }
 
 case $action in