From f09630a872ad94d17145d6620d7c315f8fcd5f70 Mon Sep 17 00:00:00 2001 From: tok-kkk Date: Wed, 7 Sep 2022 11:18:12 +1000 Subject: [PATCH] fix installation script for linux aarch system --- artifacts/install.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/artifacts/install.sh b/artifacts/install.sh index b095a8ed..7339b180 100755 --- a/artifacts/install.sh +++ b/artifacts/install.sh @@ -33,6 +33,9 @@ main() { if [ $cputype = "x86_64" ];then cputype="amd64" fi + if [ $cputype = "aarch64" ];then + cputype="arm" + fi if ! check_cmd terraform; then terraform_url="https://releases.hashicorp.com/terraform/${cur_terraform_ver}/terraform_${cur_terraform_ver}_${ostype}_${cputype}.zip"