Hi Ivan This would probably be a good thing. I'll check this when lenny is released and also inform upstream about this (cc:ed).
Best regards, // Ola On Tue, Feb 03, 2009 at 09:35:49AM +0100, Ivan Vilata i Balaguer wrote: > Package: vzctl > Version: 3.0.22-14 > Severity: wishlist > Tags: patch > > > ``/etc/vz/dists/scripts/debian-add_ip.sh`` generates the virtual machine's > ``/etc/network/interfaces`` by appending virtual interface configuration to > the > VM's ``/etc/network/interfaces.template``. Besides the name being quite > misleading (it's not a template at all), there are serious problems if one > just > wants to enable an additional interface *after* the other ones (e.g. for > setting a new alias on ``venet0`` for private communication with the host). > > The attached patch enables the use of ``/etc/network/interfaces.head`` as well > as ``/etc/network/interfaces.tail``. The first one is appended to the > resulting ``interfaces`` file *before* the virtual interface info (and before > the so-called "template"), and the second one is appended at the end. > > Thanks! > > -- System Information: > Debian Release: 5.0 > APT prefers unstable > APT policy: (500, 'unstable') > Architecture: amd64 (x86_64) > > Kernel: Linux 2.6.26-1-amd64 (SMP w/2 CPU cores) > Locale: LANG=ca_ES.UTF-8, LC_CTYPE=ca_ES.UTF-8 (charmap=UTF-8) > Shell: /bin/sh linked to /bin/bash > > Versions of packages vzctl depends on: > ii iproute 20080725-2 networking and traffic control > too > ii libc6 2.7-18 GNU C Library: Shared libraries > ii vzquota 3.0.11-1iti1 server virtualization solution - > q > > Versions of packages vzctl recommends: > ii rsync 3.0.5-1 fast remote file copy program > (lik > > Versions of packages vzctl suggests: > pn linux-patch-openvz <none> (no description available) > > -- no debconf information -- --------------------- Ola Lundqvist --------------------------- / [email protected] Annebergsslingan 37 \ | [email protected] 654 65 KARLSTAD | | http://inguza.com/ +46 (0)70-332 1551 | \ gpg/f.p.: 7090 A92B 18FE 7994 0C36 4FE4 18A1 B1CF 0FE5 3DD9 / --------------------------------------------------------------- -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected]

