projects
/
matthijs
/
servers
/
drsnuggles.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8ac89d7
)
vserver: Fix the generation of hostnames in the vserver-create script.
author
Matthijs Kooijman
<matthijs@stdin.nl>
Thu, 16 Oct 2008 14:37:02 +0000
(16:37 +0200)
committer
Matthijs Kooijman
<matthijs@stdin.nl>
Thu, 16 Oct 2008 14:37:02 +0000
(16:37 +0200)
usr/local/bin/vserver-create
patch
|
blob
|
history
diff --git
a/usr/local/bin/vserver-create
b/usr/local/bin/vserver-create
index b3a30e50261c2d2f591508c7d16028e47f208372..820962a4e0a947c32a762e1b73259352b2e94111 100755
(executable)
--- 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