mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
Use the blacklist in modprobe as the bridge module might be blacklisted by the openvswitch installation.
This commit is contained in:
parent
2d10ae7580
commit
fde6637f90
@ -82,7 +82,7 @@ class networkConfig:
|
|||||||
if os.path.exists("/proc/sys/net/bridge"):
|
if os.path.exists("/proc/sys/net/bridge"):
|
||||||
return True
|
return True
|
||||||
|
|
||||||
return bash("modprobe bridge").isSucess()
|
return bash("modprobe -b bridge").isSucess()
|
||||||
|
|
||||||
@staticmethod
|
@staticmethod
|
||||||
def isNetworkDev(devName):
|
def isNetworkDev(devName):
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user