SOURCES: xen-bridge_setup.patch (NEW) - patch which makes the brid...
jajcus
jajcus at pld-linux.org
Thu Jun 29 15:01:09 CEST 2006
Author: jajcus Date: Thu Jun 29 13:01:09 2006 GMT
Module: SOURCES Tag: HEAD
---- Log message:
- patch which makes the bridge setup script work when the default route has 'onlink' attribute
---- Files affected:
SOURCES:
xen-bridge_setup.patch (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: SOURCES/xen-bridge_setup.patch
diff -u /dev/null SOURCES/xen-bridge_setup.patch:1.1
--- /dev/null Thu Jun 29 15:01:09 2006
+++ SOURCES/xen-bridge_setup.patch Thu Jun 29 15:01:04 2006
@@ -0,0 +1,12 @@
+diff -dur -x '*~' xen-3.0.2.orig/tools/examples/network-bridge xen-3.0.2/tools/examples/network-bridge
+--- xen-3.0.2.orig/tools/examples/network-bridge 2006-06-29 14:58:24.000000000 +0200
++++ xen-3.0.2/tools/examples/network-bridge 2006-06-29 14:59:49.000000000 +0200
+@@ -61,7 +61,7 @@
+
+ vifnum=${vifnum:-0}
+ bridge=${bridge:-xenbr${vifnum}}
+-netdev=${netdev:-$(ip route list default scope global| awk '{ print $NF }')}
++netdev=${netdev:-$(ip route list default scope global | sed -e's/ onlink//' | awk '{ print $NF }')}
+ netdev=${netdev:-eth${vifnum}}
+ antispoof=${antispoof:-no}
+
================================================================
More information about the pld-cvs-commit
mailing list