>
>A user just submitted a bug report against the kvm-18 debian package.
>You can find the bug report at
>http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=417151
>
>The user has a default route with extra features and the kvm-ifup
script
>fails for him, his default route looks like:
>default via 10.0.0.138 dev br0  metric 1 realm 10
>
>His suggestion to fix is:
>-switch=$(/sbin/ip route list | awk '/^default / { print $NF }')
>+switch=$(ip route ls | awk '/^default / { for(i=0;i<$NF;i++) { if
($(i) ==
>"dev") print $(i+1) }}')

Actually using the default route in order to get the bridge name is a
bad thing. The best is to use brctl show and pick the bridge that has
the interface attached.

>
>Cheers,
>Baruch
>
>-----------------------------------------------------------------------
--
>Take Surveys. Earn Cash. Influence the Future of IT
>Join SourceForge.net's Techsay panel and you'll get the chance to share
>your
>opinions on IT & business topics through brief surveys-and earn cash
>http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVD
EV
>_______________________________________________
>kvm-devel mailing list
>kvm-devel@lists.sourceforge.net
>https://lists.sourceforge.net/lists/listinfo/kvm-devel

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
kvm-devel mailing list
kvm-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/kvm-devel

Reply via email to