From 98a181713cb7e9835e1302405283a0c17665486d Mon Sep 17 00:00:00 2001 From: Haiwei Xu Date: Wed, 4 Jun 2014 19:15:11 +0900 Subject: [PATCH] Save OPENSTACK_KEYSTONE_URL to horizon local_settings OPENSTACK_KEYSTONE_URL is not saved to local_settings correctly, this patch fixes this bug. Change-Id: I4275f035be3d8ab013840d8b5e3f9a5e292a366b --- lib/horizon | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/horizon b/lib/horizon index 9e4f2f95c8..cceedb7045 100644 --- a/lib/horizon +++ b/lib/horizon @@ -107,7 +107,7 @@ function init_horizon { fi _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 _horizon_config_set $local_settings "" OPENSTACK_SSL_CACERT \"${SSL_BUNDLE_FILE}\"