Set console url in devstack plugin

We should set the console base url with service host in devstack
plugin to make it work.

Change-Id: Icb82a3d1d99629e872d66ffc91785939ac687873
This commit is contained in:
Zhenguo Niu 2017-05-16 16:13:18 +08:00
parent a380f70189
commit f05342bb43

View File

@ -93,6 +93,11 @@ function configure_mogan {
# Setup keystone section
iniset ${MOGAN_CONF_FILE} keystone region_name ${REGION_NAME}
# Set shellinbox console url.
if is_service_enabled mogan-shellinaboxproxy; then
iniset ${MOGAN_CONF_FILE} shellinabox_console shellinabox_base_url_opt "http://$SERVICE_HOST:8866/"
fi
# Path of policy.json file.
iniset ${MOGAN_CONF_FILE} oslo_policy policy_file ${MOGAN_POLICY_FILE}