vserver: Fix the generation of hostnames in the vserver-create script.
authorMatthijs Kooijman <matthijs@stdin.nl>
Thu, 16 Oct 2008 14:37:02 +0000 (16:37 +0200)
committerMatthijs Kooijman <matthijs@stdin.nl>
Thu, 16 Oct 2008 14:37:02 +0000 (16:37 +0200)
usr/local/bin/vserver-create

index b3a30e50261c2d2f591508c7d16028e47f208372..820962a4e0a947c32a762e1b73259352b2e94111 100755 (executable)
@@ -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