add some sleeps to help figure out mount error
This commit is contained in:
parent
d781efd87b
commit
6993746cac
@ -231,8 +231,13 @@ rm -f $VM_DIR/disk
|
|||||||
# Create our instance fs
|
# Create our instance fs
|
||||||
qemu-img create -f qcow2 -b $BASE_IMAGE_COPY disk
|
qemu-img create -f qcow2 -b $BASE_IMAGE_COPY disk
|
||||||
|
|
||||||
# Mount the instance
|
sleep 5
|
||||||
|
|
||||||
qemu-nbd -c $NBD disk
|
qemu-nbd -c $NBD disk
|
||||||
|
|
||||||
|
sleep 5
|
||||||
|
|
||||||
|
# Mount the instance
|
||||||
mount $NBD $ROOTFS -o offset=32256 -t ext4
|
mount $NBD $ROOTFS -o offset=32256 -t ext4
|
||||||
|
|
||||||
# Configure instance network
|
# Configure instance network
|
||||||
|
Loading…
Reference in New Issue
Block a user