mirror of
https://github.com/xen-project/xen.git
synced 2026-10-28 02:01:24 +01:00
The current code will break if there are multiple scope global routes since the "ip route list default" command doesn't use "default" as a filter, and will output multiple devices which breaks the rest of the script. Also make the vif/xenbr/eth naming consistent, i.e. if your default network interface is eth1, you get vif1 and xenbr1. Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>