|
...
|
...
|
@@ -939,8 +939,12 @@ function _neutron_setup_keystone {
|
|
939
|
939
|
local use_auth_url=$3
|
|
940
|
940
|
local skip_auth_cache=$4
|
|
941
|
941
|
|
|
942
|
|
- iniset $conf_file $section auth_uri $KEYSTONE_SERVICE_URI
|
|
943
|
|
- iniset $conf_file $section identity_uri $KEYSTONE_AUTH_URI
|
|
|
942
|
+ if [[ -n $use_auth_url ]]; then
|
|
|
943
|
+ iniset $conf_file $section auth_url $KEYSTONE_SERVICE_URI/v2.0
|
|
|
944
|
+ else
|
|
|
945
|
+ iniset $conf_file $section auth_uri $KEYSTONE_SERVICE_URI
|
|
|
946
|
+ iniset $conf_file $section identity_uri $KEYSTONE_AUTH_URI
|
|
|
947
|
+ fi
|
|
944
|
948
|
iniset $conf_file $section admin_tenant_name $SERVICE_TENANT_NAME
|
|
945
|
949
|
iniset $conf_file $section admin_user $Q_ADMIN_USERNAME
|
|
946
|
950
|
iniset $conf_file $section admin_password $SERVICE_PASSWORD
|