summaryrefslogtreecommitdiff
path: root/autoinstall-openbsd-on-qemu
diff options
context:
space:
mode:
Diffstat (limited to 'autoinstall-openbsd-on-qemu')
-rwxr-xr-xautoinstall-openbsd-on-qemu2
1 files changed, 1 insertions, 1 deletions
diff --git a/autoinstall-openbsd-on-qemu b/autoinstall-openbsd-on-qemu
index 2921744..503d828 100755
--- a/autoinstall-openbsd-on-qemu
+++ b/autoinstall-openbsd-on-qemu
@@ -206,7 +206,7 @@ fi
# Create disk image if not exists.
if [ ! -e "${DISK_FILE}" ]
then
- qemu-img create -q -f qcow2 "${DISK_FILE}" "${DISK_SIZE}"
+ qemu-img create -q -f qcow2 "${DISK_FILE}" -o nocow=on "${DISK_SIZE}"
printf "Created %s copy-on-write disk image at %s\\n" "${DISK_SIZE}" "${DISK_FILE}"
fi
Generated by cgit. See skreutz.com for my tech blog and contact information.