This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
Home Products Support Community News


[Xen-changelog] Backport of network script fix from unstable.

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] Backport of network script fix from unstable.
From: BitKeeper Bot <riel@xxxxxxxxxxx>
Date: Tue, 17 May 2005 18:04:08 +0000
Delivery-date: Tue, 17 May 2005 19:02:19 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: Xen Development List <xen-devel@xxxxxxxxxxxxxxxxxxx>
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
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 

Xen-changelog mailing list

<Prev in Thread] Current Thread [Next in Thread>