Browse code

Set horizon configuration for security groups

Fix bug #1206271

Change-Id: I33a530265be1e5ab9181e605eb4b7c3bf1fdf9c4

Edgar Magana authored on 2013/07/30 08:39:56
Showing 1 changed files
... ...
@@ -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