aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/qcow2_handling
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/qcow2_handling')
-rw-r--r--scripts/qcow2_handling2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/qcow2_handling b/scripts/qcow2_handling
index e996e8f..089a999 100644
--- a/scripts/qcow2_handling
+++ b/scripts/qcow2_handling
@@ -236,7 +236,7 @@ EOF
fi
echo "Creating backing image: image-${STAGE}.qcow2 <- ${WORK_DIR}/image-${PREV_STAGE}.qcow2"
qemu-img create -f qcow2 \
- -o backing_file=${WORK_DIR}/image-${PREV_STAGE}.qcow2 \
+ -b ${WORK_DIR}/image-${PREV_STAGE}.qcow2 -F qcow2 \
${WORK_DIR}/image-${STAGE}.qcow2
sync
qemu-nbd --discard=unmap -c /dev/${NBD_DEV} image-${STAGE}.qcow2