|
...
|
...
|
@@ -104,6 +104,9 @@ function init_horizon() {
|
|
104
|
104
|
local_settings=$HORIZON_DIR/openstack_dashboard/local/local_settings.py
|
|
105
|
105
|
cp $HORIZON_SETTINGS $local_settings
|
|
106
|
106
|
|
|
|
107
|
+ if is_service_enabled neutron; then
|
|
|
108
|
+ _horizon_config_set $local_settings OPENSTACK_NEUTRON_NETWORK enable_security_group $Q_USE_SECGROUP
|
|
|
109
|
+ fi
|
|
107
|
110
|
# enable loadbalancer dashboard in case service is enabled
|
|
108
|
111
|
if is_service_enabled q-lbaas; then
|
|
109
|
112
|
_horizon_config_set $local_settings OPENSTACK_NEUTRON_NETWORK enable_lb True
|