|
...
|
...
|
@@ -70,6 +70,8 @@ KEYSTONE_SERVICE_PORT=${KEYSTONE_SERVICE_PORT:-5000}
|
|
70
|
70
|
KEYSTONE_SERVICE_PORT_INT=${KEYSTONE_SERVICE_PORT_INT:-5001}
|
|
71
|
71
|
KEYSTONE_SERVICE_PROTOCOL=${KEYSTONE_SERVICE_PROTOCOL:-$SERVICE_PROTOCOL}
|
|
72
|
72
|
|
|
|
73
|
+# Bind hosts
|
|
|
74
|
+KEYSTONE_ADMIN_BIND_HOST=${KEYSTONE_ADMIN_BIND_HOST:-$KEYSTONE_SERVICE_HOST}
|
|
73
|
75
|
# Set the tenant for service accounts in Keystone
|
|
74
|
76
|
SERVICE_TENANT_NAME=${SERVICE_TENANT_NAME:-service}
|
|
75
|
77
|
|
|
...
|
...
|
@@ -178,7 +180,7 @@ function configure_keystone() {
|
|
178
|
178
|
# Set the URL advertised in the ``versions`` structure returned by the '/' route
|
|
179
|
179
|
iniset $KEYSTONE_CONF DEFAULT public_endpoint "$KEYSTONE_SERVICE_PROTOCOL://$KEYSTONE_SERVICE_HOST:%(public_port)s/"
|
|
180
|
180
|
iniset $KEYSTONE_CONF DEFAULT admin_endpoint "$KEYSTONE_SERVICE_PROTOCOL://$KEYSTONE_SERVICE_HOST:%(admin_port)s/"
|
|
181
|
|
- iniset $KEYSTONE_CONF DEFAULT admin_bind_host "$KEYSTONE_SERVICE_HOST"
|
|
|
181
|
+ iniset $KEYSTONE_CONF DEFAULT admin_bind_host "$KEYSTONE_ADMIN_BIND_HOST"
|
|
182
|
182
|
|
|
183
|
183
|
# Register SSL certificates if provided
|
|
184
|
184
|
if is_ssl_enabled_service key; then
|