[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] Rather than require config changes if you aren't using eth0, use the
# HG changeset patch # User emellor@xxxxxxxxxxxxxxxxxxxxxx # Node ID d1596fc2cbaa7ab0396478e7165235f4c5c32a13 # Parent 605672867c0f9b591e941c8f4a05bb39dbe2c96a Rather than require config changes if you aren't using eth0, use the default network device available no matter the name. It can still be configured if you want a specific network device. Patch by Bill Nottingham <notting@xxxxxxxxxx>. Signed-off-by: Ewan Mellor <ewan@xxxxxxxxxxxxx> diff -r 605672867c0f -r d1596fc2cbaa tools/examples/network-bridge --- a/tools/examples/network-bridge Thu Feb 9 23:16:53 2006 +++ b/tools/examples/network-bridge Fri Feb 10 01:03:24 2006 @@ -61,6 +61,7 @@ vifnum=${vifnum:-0} bridge=${bridge:-xenbr${vifnum}} +netdev=${netdev:-$(ip route list default scope global| awk '{ print $NF }')} netdev=${netdev:-eth${vifnum}} antispoof=${antispoof:-no} diff -r 605672867c0f -r d1596fc2cbaa tools/examples/xend-config.sxp --- a/tools/examples/xend-config.sxp Thu Feb 9 23:16:53 2006 +++ b/tools/examples/xend-config.sxp Fri Feb 10 01:03:24 2006 @@ -70,8 +70,8 @@ # # (network-script network-bridge) # -# Your eth0 is used as the outgoing interface, by default. To use a different -# one (e.g. eth1) use +# Your default ethernet device is used as the outgoing interface, by default. +# To use a different one (e.g. eth1) use # # (network-script 'network-bridge netdev=eth1') # _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |