vserver: Fix the generation of hostnames in the vserver-create script.
[matthijs/servers/drsnuggles.git] / 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