Bug#418065: [Pkg-vsquare-devel] Bug#418065: vde2: integration with ifup/ifdown needlessly restrict the naming of the interface

Filippo Giunchedi filippo at debian.org
Sat Apr 7 08:13:32 UTC 2007


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




More information about the Pkg-vsquare-devel mailing list