Public bug reported:
in /etc/xen/scripts/network-bridge,
vifnum=${vifnum:-$(ip route list | awk '/^default / { print $NF }' | sed
's/^[^0-9]*//')}
but sometime the output of ip route list goes like this,
ip route list
10.182.120.0/23 dev eth0 proto kernel scope link src 10.182.120.232
default via 10.182.120.1 dev eth0 metric 100
vifnum will be set to 100,
this may help,
vifnum=${vifnum:-$(ip route list | sed -n -r -e
"s/^default.+dev[^0-9]+([0-9]+).*$/\1/p")}
** Affects: xen-3.1 (Ubuntu)
Importance: Undecided
Status: New
--
network-bridge script get wrong vifnum
https://bugs.launchpad.net/bugs/144711
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs