We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9d1baaf commit 1528441Copy full SHA for 1528441
custom-recipes/buildernet/mkosi/scripts/prepare.sh
@@ -51,7 +51,8 @@ else
51
fi
52
53
echo "prepare.sh: creating data disk..."
54
-qemu-img create -f raw "${VM_DATA_DISK}" 100G
+VM_DATA_DISK_SIZE="${VM_DATA_DISK_SIZE:-100G}"
55
+qemu-img create -f raw "${VM_DATA_DISK}" "${VM_DATA_DISK_SIZE}"
56
57
echo "prepare.sh: runtime ready"
58
ls -lah "${RUNTIME_DIR}"
0 commit comments