aboutsummaryrefslogtreecommitdiff
path: root/files
diff options
context:
space:
mode:
Diffstat (limited to 'files')
-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