feat: Configure sizes for multiple disks

This commit is contained in:
Kroese 2023-11-11 16:51:58 +01:00 committed by GitHub
parent 895bc04a57
commit db47f561d3

View File

@ -182,7 +182,7 @@ if [ -d "$(dirname "${EXTRA_DISK}")" ]; then
if [ ! -f "${EXTRA_DISK}" ]; then
[ -z "$EXTRA_SIZE" ] && EXTRA_SIZE="16G"
if ! truncate -s "${EXTRA_SIZE}" "${EXTRA_DISK}"; then
error "Could not create the file for the second disk." && exit 53
error "Could not create the file for the third disk." && exit 54
fi
fi