From: Silvio Rhatto Date: Fri, 25 Dec 2009 13:08:09 +0000 (-0200) Subject: Changing variable names and defaults (2) X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=f9409341395c36555ed1ed1c07f174c5f9a9e23b;p=puppet-virtual.git Changing variable names and defaults (2) --- diff --git a/files/vserver/build_vserver b/files/vserver/build_vserver index 6fd1073..260889c 100644 --- a/files/vserver/build_vserver +++ b/files/vserver/build_vserver @@ -7,11 +7,11 @@ DEBOOTSTRAP_MIRROR=$4 VHOSTNAME=$5 VINTERFACE=$6 -if [ $HOSTNAME != "none" ]; then +if [ $VHOSTNAME != "none" ]; then VHOSTNAME="--hostname $VHOSTNAME" fi -if [ ! -z $INTERFACE]; then +if [ ! -z $VINTERFACE]; then VINTERFACE="--interface $VINTERFACE" fi