From 46634f05f17030a6c62cc04e68fae00a68887acc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alar=20M=C3=A4erand?= <2363137+alarmatwork@users.noreply.github.com> Date: Wed, 16 Jun 2021 08:55:44 +0300 Subject: [PATCH] Make aarch64 machine type work as well If you install ubuntu 64bit server on raspberry pi and use --machine aarch64 as commandline option. --- installer.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/installer.sh b/installer.sh index 7c95e8a..92c4542 100644 --- a/installer.sh +++ b/installer.sh @@ -181,7 +181,7 @@ case $ARCH in ;; esac -if [[ ! "${MACHINE}" =~ ^(intel-nuc|odroid-c2|odroid-n2|odroid-xu|qemuarm|qemuarm-64|qemux86|qemux86-64|raspberrypi|raspberrypi2|raspberrypi3|raspberrypi4|raspberrypi3-64|raspberrypi4-64|tinker)$ ]]; then +if [[ ! "${MACHINE}" =~ ^(intel-nuc|odroid-c2|odroid-n2|odroid-xu|qemuarm|qemuarm-64|qemux86|qemux86-64|raspberrypi|raspberrypi2|raspberrypi3|raspberrypi4|raspberrypi3-64|raspberrypi4-64|tinker|aarch64)$ ]]; then error "Unknown machine type ${MACHINE}!" fi