mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
Merge branch '4.16'
This commit is contained in:
commit
6d9b60adfb
@ -374,6 +374,9 @@ class networkConfigSUSE(serviceCfgBase, networkConfigBase):
|
|||||||
if self.syscfg.env.bridgeType == "openvswitch":
|
if self.syscfg.env.bridgeType == "openvswitch":
|
||||||
if cfo.getEntry("IPADDR"):
|
if cfo.getEntry("IPADDR"):
|
||||||
cfo.rmEntry("IPADDR", cfo.getEntry("IPADDR"))
|
cfo.rmEntry("IPADDR", cfo.getEntry("IPADDR"))
|
||||||
|
elif self.syscfg.env.bridgeType == "native":
|
||||||
|
# Bridge is linked to the dev in SUSE not the other way round
|
||||||
|
pass
|
||||||
else:
|
else:
|
||||||
raise CloudInternalException("Unknown network.bridge.type %s" % self.syscfg.env.bridgeType)
|
raise CloudInternalException("Unknown network.bridge.type %s" % self.syscfg.env.bridgeType)
|
||||||
cfo.save()
|
cfo.save()
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user