Hi Raphael, On Fri, Apr 06, 2007 at 04:09:04PM +0200, Raphael Hertzog wrote: [...] > And afterwards my qemu entry in /etc/network/interfaces worked: > iface qemu inet static > address 10.0.2.1 > netmask 255.255.255.0 > vde2-switch - > up /etc/init.d/dnsmasq restart || true > > If the goal was to avoid messing with real interfaces, you should rather > rework > the test based on the output of "iconfig -s -a" or something similar.
another option can be to check if a vde2-* option has been specified in the stanza, to my knowledge ifupdown exports them to the script's environment. Would that work? filippo -- Filippo Giunchedi - http://esaurito.net PGP key: 0x6B79D401 random quote follows: yeah, that would be smart, except that it's not. -- Josip Rodin