diff options
author | Stefan Kreutz <mail@skreutz.com> | 2025-03-22 21:11:13 +0100 |
---|---|---|
committer | Stefan Kreutz <mail@skreutz.com> | 2025-03-22 21:11:13 +0100 |
commit | f223bcc8ff66a943d361519655078aa9ba672001 (patch) | |
tree | ba252775f3bce49271ddd6a079d66240d878e127 | |
parent | a938a54e918b6aa130cc4f53001b6863d5f4e85c (diff) | |
download | autoinstall-openbsd-on-qemu-f223bcc8ff66a943d361519655078aa9ba672001.tar |
Disable copy-on-write on Btrfs
-rwxr-xr-x | autoinstall-openbsd-on-qemu | 2 |
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 |