diff --git a/README.md b/README.md index e4fca2a..bb66a69 100644 --- a/README.md +++ b/README.md @@ -36,7 +36,6 @@ bash installer.sh --machine MY_MACHINE ## Supported Machine types -- intel-nuc - generic-x86-64 - odroid-c2 - odroid-n2 diff --git a/installer.sh b/installer.sh index 7c95e8a..d9e6cdb 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}" =~ ^(generic-x86-64|odroid-c2|odroid-n2|odroid-xu|qemuarm|qemuarm-64|qemux86|qemux86-64|raspberrypi|raspberrypi2|raspberrypi3|raspberrypi4|raspberrypi3-64|raspberrypi4-64|tinker|khadas-vim3)$ ]]; then error "Unknown machine type ${MACHINE}!" fi