This is a patch to fix xm-test's network errors
http://bugzilla.xensource.com/bugzilla/show_bug.cgi?id=1051
From: Lukasz Szymanski <Lukasz.Szymanski@unisys.com>
Signed-off-by: Keir Fraser <keir@xensource.com>
AC_SUBST(NETWORK_ADDRESS)
AC_SUBST(NETMASK)
-DOM0_INTF="vif0.0"
+DOM0_INTF="eth0"
AC_ARG_WITH(dom0-intf,
- [ --with-dom0-intf=intf Set dom0 interface name [[default="vif0.0"]]],
+ [ --with-dom0-intf=intf Set dom0 interface name [[default="eth0"]]],
[ DOM0_INTF="$withval" ])
AC_SUBST(DOM0_INTF)
def checkZeroconfAddresses():
# Make sure there aren't existing zeroconf addresses.
- rc, out = traceCommand("ip addr show |grep \"inet 169.254\" | grep -v vif")
+ rc, out = traceCommand("ip addr show |grep \"inet 169.254\" | grep eth0")
if rc == 0:
raise NetworkError("Zeroconf addresses already used: %s" % out)