Browse code

Fix an error message in the neutron script

The $PHYSICAL_NETWORK in the error message should be
$PRIVATE_NETWORK_NAME, because the command just before this error
message refers to $PRIVATE_NETWORK_NAME.

Change-Id: I9a648f8bd0e61abde8e93bc08282c14b35ec06bd

Naohiro Tamura authored on 2015/02/17 22:20:19
Showing 1 changed files
... ...
@@ -552,7 +552,7 @@ function create_neutron_initial_network {
552 552
         sudo ip link set $PUBLIC_INTERFACE up
553 553
     else
554 554
         NET_ID=$(neutron net-create --tenant-id $TENANT_ID "$PRIVATE_NETWORK_NAME" | grep ' id ' | get_field 2)
555
-        die_if_not_set $LINENO NET_ID "Failure creating NET_ID for $PHYSICAL_NETWORK $TENANT_ID"
555
+        die_if_not_set $LINENO NET_ID "Failure creating NET_ID for $PRIVATE_NETWORK_NAME $TENANT_ID"
556 556
 
557 557
         if [[ "$IP_VERSION" =~ 4.* ]]; then
558 558
             # Create IPv4 private subnet