|
|
|
|
|
|
|
|
|
|
xen-changelog
[Xen-changelog] Backport of network script fix from unstable.
ChangeSet 1.1869, 2005/05/17 19:04:08+01:00, kaf24@xxxxxxxxxxxxxxxxxxxx
Backport of network script fix from unstable.
Signed-off-by: Keir Fraser <keir@xxxxxxxxxxxxx>
network | 4 ++++
1 files changed, 4 insertions(+)
diff -Nru a/tools/examples/network b/tools/examples/network
--- a/tools/examples/network 2005-05-17 15:02:55 -04:00
+++ b/tools/examples/network 2005-05-17 15:02:55 -04:00
@@ -164,6 +164,10 @@
create_bridge ${bridge}
+ if ifconfig 2>/dev/null | grep -q veth0 ; then
+ return
+ fi
+
if ifconfig veth0 2>/dev/null | grep -q veth0 ; then
# Propagate MAC address and ARP responsibilities to virtual interface.
mac=`ifconfig ${netdev} | grep HWadd | sed -e
's/.*\(..:..:..:..:..:..\).*/\1/'`
_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog
|
|
|
|
|