From: Matthijs Kooijman Date: Thu, 16 Oct 2008 14:37:02 +0000 (+0200) Subject: vserver: Fix the generation of hostnames in the vserver-create script. X-Git-Url: https://git.stderr.nl/gitweb?a=commitdiff_plain;h=bfa01ca6d4f2c51b043335a78bae17b0c05471d0;p=matthijs%2Fservers%2Fdrsnuggles.git vserver: Fix the generation of hostnames in the vserver-create script. --- diff --git a/usr/local/bin/vserver-create b/usr/local/bin/vserver-create index b3a30e5..820962a 100755 --- a/usr/local/bin/vserver-create +++ b/usr/local/bin/vserver-create @@ -53,7 +53,7 @@ if ! echo $NAME | grep "^[a-zA-Z0-9-]*$" &>/dev/null; then exit 1 fi -HOST="$NAME/`hostname --fqdn`" +HOST="$NAME.`hostname --fqdn`" # Set the IP var if ! find_ip; then