This commit is contained in:
Kroese 2023-04-12 00:43:19 +02:00 committed by GitHub
parent c123f24265
commit 4d77081b8e

View file

@ -10,7 +10,6 @@ NEW_SIZE=$(numfmt --from=iec "${DISK_SIZE}")
FILE="$IMG/data${DISK_SIZE}.img" FILE="$IMG/data${DISK_SIZE}.img"
[ ! -f "$FILE" ] && truncate -s "${NEW_SIZE}" "${FILE}" [ ! -f "$FILE" ] && truncate -s "${NEW_SIZE}" "${FILE}"
[ ! -f "$FILE" ] && echo "ERROR: Data image does not exist ($FILE)" && exit 83 [ ! -f "$FILE" ] && echo "ERROR: Data image does not exist ($FILE)" && exit 83
KVM_DISK_OPTS="\ KVM_DISK_OPTS="\