On Fri, Dec 12, 2003 at 09:36:23PM +0100, Ola Lundqvist wrote:
> New vserver-0.29 packages will be available for unstable now
> on http://debian.opal.dhs.org/
> 
> Also uploaded to unstable since a few seconds.

A small bugfix for the debian newvserver script:

When newvserver creates a config file for the vserver, IPROOTDEV is set to
eth0, even if another interface is specified.

Trivial patch:

--- newvserver.sh.orig  2003-12-13 20:40:19.000000000 +0100
+++ newvserver.sh       2003-12-13 20:40:56.000000000 +0100
@@ -501,7 +501,7 @@
 cat << EOF > /etc/vservers/$VHOST.conf
 S_HOSTNAME="$VHOST"
 IPROOT="$IP"
-IPROOTDEV="eth0"
+IPROOTDEV="$INTERFACE"
 ONBOOT="yes"
 S_NICE=""
 S_FLAGS="lock nproc$FAKEINIT"


Greetings,

Ivo De Decker

_______________________________________________
Vserver mailing list
[EMAIL PROTECTED]
http://list.linux-vserver.org/mailman/listinfo/vserver

Reply via email to