|
|
|
|
|
|
|
|
|
|
xen-changelog
[Xen-changelog] [xen-unstable] network-bridge: default to eth0 if no def
# HG changeset patch
# User Keir Fraser <keir@xxxxxxxxxxxxx>
# Date 1190391735 -3600
# Node ID ca13600946540d2cfbe727473704499b629bda20
# Parent 844e507d56b82d28f5ea5de32c1bf6a2b3181501
network-bridge: default to eth0 if no default gateway.
From: Luke Szymanski <Lukasz.Szymanski@xxxxxxxxxx>
Signed-off-by: Keir Fraser <keir@xxxxxxxxxxxxx>
---
tools/examples/network-bridge | 1 +
1 files changed, 1 insertion(+)
diff -r 844e507d56b8 -r ca1360094654 tools/examples/network-bridge
--- a/tools/examples/network-bridge Fri Sep 21 17:15:47 2007 +0100
+++ b/tools/examples/network-bridge Fri Sep 21 17:22:15 2007 +0100
@@ -58,6 +58,7 @@ evalVariables "$@"
netdev=${netdev:-$(ip route list | awk '/^default / { print $NF }' |
sed 's/.* dev //')}
+netdev=${netdev:-eth0}
bridge=${bridge:-${netdev}}
antispoof=${antispoof:-no}
_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog
|
<Prev in Thread] |
Current Thread |
[Next in Thread> |
- [Xen-changelog] [xen-unstable] network-bridge: default to eth0 if no default gateway.,
Xen patchbot-unstable <=
|
|
|
|
|