diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2009-12-25 11:04:35 -0200 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2009-12-25 11:04:35 -0200 |
commit | 61fd970b469973e13ddde78a1159ef62438c1a2f (patch) | |
tree | fc04ac7cf4ffbe39a51197c954f9e336fc8fe3da /files | |
parent | 8ddd500f6b4d02d3d4e8f27914720c009a02f83d (diff) | |
download | puppet-virtual-61fd970b469973e13ddde78a1159ef62438c1a2f.tar.gz puppet-virtual-61fd970b469973e13ddde78a1159ef62438c1a2f.tar.bz2 |
Changing variable names and defaults
Diffstat (limited to 'files')
-rw-r--r-- | files/vserver/build_vserver | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/files/vserver/build_vserver b/files/vserver/build_vserver index 569451b..6fd1073 100644 --- a/files/vserver/build_vserver +++ b/files/vserver/build_vserver @@ -4,20 +4,20 @@ NAME=$1 CONTEXT=$2 RELEASE=$3 DEBOOTSTRAP_MIRROR=$4 -HOSTNAME=$5 -INTERFACE=$6 +VHOSTNAME=$5 +VINTERFACE=$6 if [ $HOSTNAME != "none" ]; then - hostname="--hostname $HOSTNAME" + VHOSTNAME="--hostname $VHOSTNAME" fi if [ ! -z $INTERFACE]; then - interface="--interface $INTERFACE" + VINTERFACE="--interface $VINTERFACE" fi # create basic vserver vserver $NAME build -n $NAME --context $CONTEXT \ - $hostname $interace -m debootstrap -- -d $RELEASE -m $DEBOOTSTRAP_MIRROR + $VHOSTNAME $VINTERFACE -m debootstrap -- -d $RELEASE -m $DEBOOTSTRAP_MIRROR # copy in some some defaults TARGET=/etc/vservers/$NAME/vdir/ |