god enough but still fails to handle wheezy - need to restore /var/run
[infrastructure.git] / scripts / create-vm-debian.sh
index a26c4e7..ffaebc7 100755 (executable)
@@ -70,6 +70,9 @@ fi
 
 $command
 
+### it looks like this is done too early or something
+sleep 5
+# with wheezy at least, we need to manually create these 2 directories when trying to vserver start for the first time..
 ### post processing for starting up
 for dir in run lock; do
     [ -d /vservers/${HOSTNAME}/var/$dir ] || mkdir /vservers/${HOSTNAME}/var/$dir