diff --git a/alpine-make-vm-image b/alpine-make-vm-image index 52f6c72..220d67e 100755 --- a/alpine-make-vm-image +++ b/alpine-make-vm-image @@ -143,7 +143,8 @@ attach_image() { nbd_dev=$(get_available_nbd) } || die 'No available nbd device found!' - qemu-nbd --connect="$nbd_dev" ${format:+--format=$format} "$image" \ + qemu-nbd --connect="$nbd_dev" --cache=writeback \ + ${format:+--format=$format} "$image" \ && echo "$nbd_dev" }