aboutsummaryrefslogtreecommitdiff
path: root/files/vserver
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2009-12-25 11:08:09 -0200
committerSilvio Rhatto <rhatto@riseup.net>2009-12-25 11:08:09 -0200
commitf9409341395c36555ed1ed1c07f174c5f9a9e23b (patch)
tree578edc0919e65ec73b3d8495c13d37e2c69963b7 /files/vserver
parent61fd970b469973e13ddde78a1159ef62438c1a2f (diff)
downloadpuppet-virtual-f9409341395c36555ed1ed1c07f174c5f9a9e23b.tar.gz
puppet-virtual-f9409341395c36555ed1ed1c07f174c5f9a9e23b.tar.bz2
Changing variable names and defaults (2)
Diffstat (limited to 'files/vserver')
-rw-r--r--files/vserver/build_vserver4
1 files changed, 2 insertions, 2 deletions
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