From: Thierry Parmentelat Date: Wed, 24 Oct 2012 08:59:03 +0000 (+0200) Subject: god enough but still fails to handle wheezy - need to restore /var/run X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=ee084a2b9e3ff42e081be88533a9082e4c37dd19;p=infrastructure.git god enough but still fails to handle wheezy - need to restore /var/run and /var/lock in VM prior to being able to start it... --- diff --git a/scripts/create-vm-debian.sh b/scripts/create-vm-debian.sh index a26c4e7..ffaebc7 100755 --- a/scripts/create-vm-debian.sh +++ b/scripts/create-vm-debian.sh @@ -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