feat: Check the amount of RAM available (#716)

This commit is contained in:
Kroese
2024-05-02 20:21:21 +02:00
committed by GitHub
parent 8d8ed63122
commit 6724ddbd7d
4 changed files with 36 additions and 17 deletions

View File

@@ -9,7 +9,7 @@ set -Eeuo pipefail
: "${CPU_MODEL:=""}"
: "${DEF_MODEL:="qemu64"}"
[ "$ARCH" != "amd64" ] && KVM="N"
[[ "${ARCH,,}" != "amd64" ]] && KVM="N"
if [[ "$KVM" != [Nn]* ]]; then