feat: Make CPU model configurable (#7)
This commit is contained in:
parent
1ae241040e
commit
f011637e68
1 changed files with 2 additions and 1 deletions
|
@ -6,6 +6,7 @@ set -Eeuo pipefail
|
|||
: "${KVM:="Y"}"
|
||||
: "${CPU_FLAGS:=""}"
|
||||
: "${CPU_MODEL:="host"}"
|
||||
: "${MODEL:="cortex-a53"}"
|
||||
|
||||
[[ "$ARCH" != "arm"* ]] && KVM="N"
|
||||
|
||||
|
@ -56,7 +57,7 @@ else
|
|||
if [[ "$ARCH" == "arm"* ]]; then
|
||||
CPU_MODEL="max"
|
||||
else
|
||||
CPU_MODEL="cortex-a53"
|
||||
CPU_MODEL="$MODEL"
|
||||
fi
|
||||
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue