From 70b81e5ff5ed98c175ed31826e22c423c00d539d Mon Sep 17 00:00:00 2001 From: Dirk von Suchodoletz Date: Fri, 3 Apr 2009 16:12:18 +0000 Subject: Small nasty bug with brtcl stp off/0 ... git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@2798 95ad53e4-c205-0410-b2fa-d234c58c8868 --- os-plugins/plugins/qemukvm/init-hooks/20-nw-bridge-config/bridge.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'os-plugins/plugins/qemukvm/init-hooks/20-nw-bridge-config/bridge.sh') diff --git a/os-plugins/plugins/qemukvm/init-hooks/20-nw-bridge-config/bridge.sh b/os-plugins/plugins/qemukvm/init-hooks/20-nw-bridge-config/bridge.sh index c0b8bd31..6aabe8ad 100644 --- a/os-plugins/plugins/qemukvm/init-hooks/20-nw-bridge-config/bridge.sh +++ b/os-plugins/plugins/qemukvm/init-hooks/20-nw-bridge-config/bridge.sh @@ -10,7 +10,7 @@ # General information about OpenSLX can be found at http://openslx.org # # Init hook to create a bridge on the active network interface -# (should be kept identical to the files of vmware and virtualbox plugins) +# (should be kept identical to the files of virtualbox and qemukvm plugins) ############################################################################# local bridge=br0 @@ -19,7 +19,7 @@ local nwifmac=${macaddr} # bridge 0 already defined or some other problem brctl addbr ${bridge} || exit 0 -brctl stp ${bridge} off +brctl stp ${bridge} 0 brctl setfd ${bridge} 0.000000000001 ip link set addr ${nwifmac} ${bridge} ip link set dev ${nwif} up -- cgit v1.2.3-55-g7522