|
|
|
|
|
|
|
|
|
|
xen-changelog
[Xen-changelog] Backport of network script fix from unstable.
ChangeSet 1.1159.258.135, 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:09 -04:00
+++ b/tools/examples/network 2005-05-17 15:02:09 -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
|
<Prev in Thread] |
Current Thread |
[Next in Thread>
|
- [Xen-changelog] Backport of network script fix from unstable.,
BitKeeper Bot <=
|
|
|
|
|