From 463a0e6d980690d00b17b9ebcfaf83c2f12d7615 Mon Sep 17 00:00:00 2001 From: keiji niwa Date: Sat, 11 Jul 2015 22:09:49 +0900 Subject: [PATCH] Replace hard-coded --ipv6-address-mode Looks like this was just a typo in the original d1498d74db816b3edbb8376ca5acb7cc5792ea5c ; replace with environment variable Change-Id: I877c1a570a68e926c91fc8a393217e6b18245f82 --- lib/neutron-legacy | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/neutron-legacy b/lib/neutron-legacy index 3c3c96b7bd..c244e5470a 100644 --- a/lib/neutron-legacy +++ b/lib/neutron-legacy @@ -547,7 +547,7 @@ function create_neutron_initial_network { fi if [[ "$IP_VERSION" =~ .*6 ]]; then - SUBNET_V6_ID=$(neutron subnet-create --tenant_id $TENANT_ID --ip_version 6 --ipv6-address-mode slaac --gateway $V6_NETWORK_GATEWAY --name $PROVIDER_SUBNET_NAME_V6 $NET_ID $FIXED_RANGE_V6 | grep 'id' | get_field 2) + SUBNET_V6_ID=$(neutron subnet-create --tenant_id $TENANT_ID --ip_version 6 --ipv6-address-mode $IPV6_ADDRESS_MODE --gateway $V6_NETWORK_GATEWAY --name $PROVIDER_SUBNET_NAME_V6 $NET_ID $FIXED_RANGE_V6 | grep 'id' | get_field 2) die_if_not_set $LINENO SUBNET_V6_ID "Failure creating SUBNET_V6_ID for $PROVIDER_SUBNET_NAME_V6 $TENANT_ID" fi