From cb7fd0280a8dd756708dd63f125edeebaf6ecc16 Mon Sep 17 00:00:00 2001 From: Kroese Date: Sat, 3 Feb 2024 12:00:58 +0100 Subject: [PATCH] Update proc.sh --- src/proc.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/proc.sh b/src/proc.sh index 7167908..d87a663 100644 --- a/src/proc.sh +++ b/src/proc.sh @@ -8,7 +8,7 @@ set -Eeuo pipefail : "${CPU_MODEL:="host"}" : "${MODEL:="cortex-a53"}" -[[ "$ARCH" != "arm64" ]] && KVM="N" +[[ "$ARCH" != "arm"* ]] && KVM="N" if [[ "$KVM" != [Nn]* ]]; then @@ -54,7 +54,7 @@ else if [[ "${CPU_MODEL,,}" == "host"* ]]; then - if [[ "$ARCH" == "arm64" ]]; then + if [[ "$ARCH" == "arm"* ]]; then CPU_MODEL="max" else CPU_MODEL="$MODEL"