|
...
|
...
|
@@ -235,8 +235,12 @@ rm -f $VM_DIR/disk
|
|
235
|
235
|
# Create our instance fs
|
|
236
|
236
|
qemu-img create -f qcow2 -b $VM_IMAGE disk
|
|
237
|
237
|
|
|
|
238
|
+# FIXME: we are sleeping because these qemu commands appear to not complete
|
|
|
239
|
+# before they return... We should apply fix that is done in nova's disk.py
|
|
238
|
240
|
sleep 5
|
|
239
|
241
|
|
|
|
242
|
+# FIXME: we are sleeping because these qemu commands appear to not complete
|
|
|
243
|
+# before they return... We should apply fix that is done in nova's disk.py
|
|
240
|
244
|
qemu-nbd -c $NBD disk
|
|
241
|
245
|
|
|
242
|
246
|
sleep 5
|