From fde6637f90d2466d9d99579ffb0f782adf2a8162 Mon Sep 17 00:00:00 2001 From: Hugo Trippaers Date: Wed, 19 Jun 2013 20:59:02 +0200 Subject: [PATCH] Use the blacklist in modprobe as the bridge module might be blacklisted by the openvswitch installation. --- python/lib/cloudutils/networkConfig.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/lib/cloudutils/networkConfig.py b/python/lib/cloudutils/networkConfig.py index 9e456e970be..405a3be519c 100644 --- a/python/lib/cloudutils/networkConfig.py +++ b/python/lib/cloudutils/networkConfig.py @@ -82,7 +82,7 @@ class networkConfig: if os.path.exists("/proc/sys/net/bridge"): return True - return bash("modprobe bridge").isSucess() + return bash("modprobe -b bridge").isSucess() @staticmethod def isNetworkDev(devName):