From c973f1249a08c5dcb42b335b6d3249e8c6c6da24 Mon Sep 17 00:00:00 2001 From: Edgar Magana Date: Mon, 29 Jul 2013 16:39:56 -0700 Subject: [PATCH] Set horizon configuration for security groups Fix bug #1206271 Change-Id: I33a530265be1e5ab9181e605eb4b7c3bf1fdf9c4 --- lib/horizon | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/horizon b/lib/horizon index b537484608..f88247cd00 100644 --- a/lib/horizon +++ b/lib/horizon @@ -104,6 +104,9 @@ function init_horizon() { local_settings=$HORIZON_DIR/openstack_dashboard/local/local_settings.py cp $HORIZON_SETTINGS $local_settings + if is_service_enabled neutron; then + _horizon_config_set $local_settings OPENSTACK_NEUTRON_NETWORK enable_security_group $Q_USE_SECGROUP + fi # enable loadbalancer dashboard in case service is enabled if is_service_enabled q-lbaas; then _horizon_config_set $local_settings OPENSTACK_NEUTRON_NETWORK enable_lb True