Configure VPNaaS Horizon panel if q-vpn is enabled

Change-Id: I062fd31cb1de50f356c2c549a783d9c597b129fa
Closes-Bug: #1223012
This commit is contained in:
Akihiro MOTOKI 2013-09-10 05:22:37 +09:00
parent 69f745748d
commit eaa9e1e3e0

View File

@ -101,6 +101,11 @@ function init_horizon() {
_horizon_config_set $local_settings OPENSTACK_NEUTRON_NETWORK enable_firewall True
fi
# enable VPN dashboard in case service is enabled
if is_service_enabled q-vpn; then
_horizon_config_set $local_settings OPENSTACK_NEUTRON_NETWORK enable_vpn True
fi
# Initialize the horizon database (it stores sessions and notices shown to
# users). The user system is external (keystone).
cd $HORIZON_DIR