The remaining references to eth0 appear to be used only in the domU,
where we control the interface names.

There is a simpler way to get the first "real" interface name which is:

ls /sys/class/net | awk '$1 != "lo" { print $1; exit }'

I'm not entirely convinced that this is the right thing to do; it might
be as well to keep eth0 as the default.  Finally the new configuration
file should be documented.

Ben.

-- 
Ben Hutchings
All the simple programs have been written, and all the good names taken.

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to