Browse code

add some sleeps to help figure out mount error

Anthony Young authored on 2011/10/21 04:55:46
Showing 1 changed files
... ...
@@ -231,8 +231,13 @@ rm -f $VM_DIR/disk
231 231
 # Create our instance fs
232 232
 qemu-img create -f qcow2 -b $BASE_IMAGE_COPY disk
233 233
 
234
-# Mount the instance
234
+sleep 5
235
+
235 236
 qemu-nbd -c $NBD disk
237
+
238
+sleep 5
239
+
240
+# Mount the instance
236 241
 mount $NBD $ROOTFS -o offset=32256 -t ext4
237 242
 
238 243
 # Configure instance network