From 6993746cac39fe4059b42d26c994c0de8b0d75b4 Mon Sep 17 00:00:00 2001 From: Anthony Young Date: Thu, 20 Oct 2011 12:55:46 -0700 Subject: [PATCH] add some sleeps to help figure out mount error --- tools/build_kvm.sh | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/tools/build_kvm.sh b/tools/build_kvm.sh index 24e99f1..4cca5f9 100755 --- a/tools/build_kvm.sh +++ b/tools/build_kvm.sh @@ -231,8 +231,13 @@ rm -f $VM_DIR/disk # Create our instance fs qemu-img create -f qcow2 -b $BASE_IMAGE_COPY disk -# Mount the instance +sleep 5 + qemu-nbd -c $NBD disk + +sleep 5 + +# Mount the instance mount $NBD $ROOTFS -o offset=32256 -t ext4 # Configure instance network