summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Kreutz <mail@skreutz.com>2025-03-22 21:11:13 +0100
committerStefan Kreutz <mail@skreutz.com>2025-03-22 21:11:13 +0100
commitf223bcc8ff66a943d361519655078aa9ba672001 (patch)
treeba252775f3bce49271ddd6a079d66240d878e127
parenta938a54e918b6aa130cc4f53001b6863d5f4e85c (diff)
downloadautoinstall-openbsd-on-qemu-f223bcc8ff66a943d361519655078aa9ba672001.tar
Disable copy-on-write on Btrfs
-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.