Merge "Keystone stop using config refs"
This commit is contained in:
commit
8e71fabb57
@ -229,13 +229,8 @@ function configure_keystone {
|
|||||||
iniset_rpc_backend keystone $KEYSTONE_CONF DEFAULT
|
iniset_rpc_backend keystone $KEYSTONE_CONF DEFAULT
|
||||||
|
|
||||||
# Set the URL advertised in the ``versions`` structure returned by the '/' route
|
# Set the URL advertised in the ``versions`` structure returned by the '/' route
|
||||||
if is_service_enabled tls-proxy; then
|
|
||||||
iniset $KEYSTONE_CONF DEFAULT public_endpoint "$KEYSTONE_SERVICE_PROTOCOL://$KEYSTONE_SERVICE_HOST:$KEYSTONE_SERVICE_PORT/"
|
iniset $KEYSTONE_CONF DEFAULT public_endpoint "$KEYSTONE_SERVICE_PROTOCOL://$KEYSTONE_SERVICE_HOST:$KEYSTONE_SERVICE_PORT/"
|
||||||
iniset $KEYSTONE_CONF DEFAULT admin_endpoint "$KEYSTONE_SERVICE_PROTOCOL://$KEYSTONE_SERVICE_HOST:$KEYSTONE_AUTH_PORT/"
|
iniset $KEYSTONE_CONF DEFAULT admin_endpoint "$KEYSTONE_SERVICE_PROTOCOL://$KEYSTONE_SERVICE_HOST:$KEYSTONE_AUTH_PORT/"
|
||||||
else
|
|
||||||
iniset $KEYSTONE_CONF DEFAULT public_endpoint "$KEYSTONE_SERVICE_PROTOCOL://$KEYSTONE_SERVICE_HOST:%(public_port)s/"
|
|
||||||
iniset $KEYSTONE_CONF DEFAULT admin_endpoint "$KEYSTONE_SERVICE_PROTOCOL://$KEYSTONE_SERVICE_HOST:%(admin_port)s/"
|
|
||||||
fi
|
|
||||||
iniset $KEYSTONE_CONF DEFAULT admin_bind_host "$KEYSTONE_ADMIN_BIND_HOST"
|
iniset $KEYSTONE_CONF DEFAULT admin_bind_host "$KEYSTONE_ADMIN_BIND_HOST"
|
||||||
|
|
||||||
# Register SSL certificates if provided
|
# Register SSL certificates if provided
|
||||||
|
Loading…
Reference in New Issue
Block a user