summaryrefslogtreecommitdiff
path: root/ironic_python_agent/shell/write_image.sh
diff options
context:
space:
mode:
Diffstat (limited to 'ironic_python_agent/shell/write_image.sh')
-rwxr-xr-xironic_python_agent/shell/write_image.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/ironic_python_agent/shell/write_image.sh b/ironic_python_agent/shell/write_image.sh
index bcd6bfd3..61e9d0b9 100755
--- a/ironic_python_agent/shell/write_image.sh
+++ b/ironic_python_agent/shell/write_image.sh
@@ -49,7 +49,7 @@ log "Imaging $IMAGEFILE to $DEVICE"
# limit the memory usage for qemu-img to 2 GiB
ulimit -v 2097152
-qemu-img convert -t directsync -O host_device $IMAGEFILE $DEVICE
+qemu-img convert -t directsync -O host_device -W $IMAGEFILE $DEVICE
sync
log "${DEVICE} imaged successfully!"