diff --git a/pkg/cluster/template/install/local_install.sh.go b/pkg/cluster/template/install/local_install.sh.go index f37e9d475b..9f5bd8fdd6 100644 --- a/pkg/cluster/template/install/local_install.sh.go +++ b/pkg/cluster/template/install/local_install.sh.go @@ -44,6 +44,11 @@ if [ -z "$arch" ]; then exit 1 fi +if [ "$os-$arch" == "darwin-arm64" ]; then + echo "Architecture darwin-arm64 not supported." >&2 + exit 1 +fi + if [ -z "$TIUP_HOME" ]; then TIUP_HOME=$HOME/.tiup fi