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:
7e7725d
)
vserver: Add some progress messages to the vserver-create script.
author
Matthijs Kooijman
<matthijs@stdin.nl>
Thu, 16 Oct 2008 14:13:29 +0000
(16:13 +0200)
committer
Matthijs Kooijman
<matthijs@stdin.nl>
Thu, 16 Oct 2008 14:13:29 +0000
(16:13 +0200)
usr/local/bin/vserver-create
patch
|
blob
|
history
diff --git
a/usr/local/bin/vserver-create
b/usr/local/bin/vserver-create
index b73f6a267976d9649190f5427afad970040df62d..91c4d5070be14d8fef3b36bf39f02803634c28fb 100755
(executable)
--- a/
usr/local/bin/vserver-create
+++ b/
usr/local/bin/vserver-create
@@
-47,7
+47,10
@@
if ! find_ip; then
exit 1
fi;
+echo "Creating vserver $NAME with address $IP..."
sudo vserver $NAME build -m clone --hostname $HOST --interface $INTERFACE:$IP/$NETMASK -- --source $TEMPLATE --exclude-from $EXCLUDE_FILE
+
+echo "Vserver created, configuring..."
sudo vserver $NAME start
# Regen ssh keys
sudo vserver $NAME exec dpkg-reconfigure openssh-server