mirror of https://github.com/apache/cloudstack.git
Enable security groups in basic zones only
reviewed-by: Kishan
This commit is contained in:
parent
7480d73785
commit
6796e099c8
|
|
@ -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…
Reference in New Issue