Make preallocation configurable

This commit is contained in:
Kroese 2023-04-18 18:26:15 +02:00 committed by GitHub
parent b5194655d1
commit ce0e4f88e2

View File

@ -81,7 +81,7 @@ if [ ! -f "${DATA}" ]; then
if ! fallocate -l "${DATA_SIZE}" "${DATA}"; then
rm -f "${DATA}"
echo "ERROR: Could not allocate file for virtual disk." && exit 87
echo "ERROR: Could not allocate a file for the virtual disk." && exit 87
fi
fi