Merge "Save OPENSTACK_KEYSTONE_URL to horizon local_settings"
This commit is contained in:
commit
e54a2b5057
@ -110,7 +110,7 @@ function init_horizon {
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
_horizon_config_set $local_settings "" OPENSTACK_HOST \"${KEYSTONE_SERVICE_HOST}\"
|
_horizon_config_set $local_settings "" OPENSTACK_HOST \"${KEYSTONE_SERVICE_HOST}\"
|
||||||
_horizon_config_set $local_settings "" OPENSTACK_KEYSTONE_URL "\"${KEYSTONE_SERVICE_PROTOCOL}://%s:${KEYSTONE_SERVICE_PORT}/v2.0\" % OPENSTACK_HOST"
|
_horizon_config_set $local_settings "" OPENSTACK_KEYSTONE_URL "\"${KEYSTONE_SERVICE_PROTOCOL}://${KEYSTONE_SERVICE_HOST}:${KEYSTONE_SERVICE_PORT}/v2.0\""
|
||||||
|
|
||||||
if [ -f $SSL_BUNDLE_FILE ]; then
|
if [ -f $SSL_BUNDLE_FILE ]; then
|
||||||
_horizon_config_set $local_settings "" OPENSTACK_SSL_CACERT \"${SSL_BUNDLE_FILE}\"
|
_horizon_config_set $local_settings "" OPENSTACK_SSL_CACERT \"${SSL_BUNDLE_FILE}\"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user