From f05342bb4340de4e11024ecfd5a287d9fb70f360 Mon Sep 17 00:00:00 2001 From: Zhenguo Niu Date: Tue, 16 May 2017 16:13:18 +0800 Subject: [PATCH] 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 --- devstack/plugin.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/devstack/plugin.sh b/devstack/plugin.sh index f34af9fc..2fc3cdab 100644 --- a/devstack/plugin.sh +++ b/devstack/plugin.sh @@ -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}