mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
Enable security groups in basic zones only
(cherry picked from commit 7ea0ace472f863374c9a0b8559065a90190e6f61)
This commit is contained in:
parent
176fadc548
commit
a424429090
@ -179,7 +179,7 @@ class deployDataCenters():
|
||||
vrconfigresponse = \
|
||||
self.apiClient.configureVirtualRouterElement(vrconfig)
|
||||
|
||||
if zone.securitygroupenabled:
|
||||
if zone.networktype == "Basic" and zone.securitygroupenabled:
|
||||
sgprovider = configGenerator.provider()
|
||||
sgprovider.name = "SecurityGroupProvider"
|
||||
zone.providers.append(sgprovider)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user