From ee084a2b9e3ff42e081be88533a9082e4c37dd19 Mon Sep 17 00:00:00 2001 From: Thierry Parmentelat Date: Wed, 24 Oct 2012 10:59:03 +0200 Subject: [PATCH] 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... --- scripts/create-vm-debian.sh | 3 +++ 1 file changed, 3 insertions(+) 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 -- 2.47.0