diff options
author | Harry Huang <huangxiangyu5@huawei.com> | 2018-09-13 03:59:32 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@opnfv.org> | 2018-09-13 03:59:32 +0000 |
commit | 052f11551e0c817e41454ea877ca90dc56c9580d (patch) | |
tree | 00427a403483a9ccfce2a54b7322a4cc5caa301f | |
parent | 530bc929ee771dfdf1c6b105ac1ceb05f5d367d8 (diff) | |
parent | 88011d78be48349bf3d3bbea6c8166834b324bca (diff) |
Merge "update quickstart_k8s.sh to support arm64"
-rwxr-xr-x | quickstart.sh | 7 | ||||
-rwxr-xr-x | quickstart_k8s.sh | 9 |
2 files changed, 16 insertions, 0 deletions
diff --git a/quickstart.sh b/quickstart.sh index db56ee2f..f872abfd 100755 --- a/quickstart.sh +++ b/quickstart.sh @@ -7,6 +7,13 @@ # which accompanies this distribution, and is available at # http://www.apache.org/licenses/LICENSE-2.0 ############################################################################## + +COMPASS_ARCH=$(uname -m) +if [ "$COMPASS_ARCH" = "aarch64" ]; then + echo "Not support aarch64, please try quickstart_k8s.sh instead" + exit 1 +fi + sudo apt-get update sudo apt-get install -y git diff --git a/quickstart_k8s.sh b/quickstart_k8s.sh index 2745cdb9..49a8432c 100755 --- a/quickstart_k8s.sh +++ b/quickstart_k8s.sh @@ -7,6 +7,15 @@ # which accompanies this distribution, and is available at # http://www.apache.org/licenses/LICENSE-2.0 ############################################################################## + +COMPASS_ARCH=$(uname -m) +if [ "$COMPASS_ARCH" = "aarch64" ]; then + echo "Running on aarch64 host, make sure your jump host is configured okay" + echo "Please reference docs/release/installation/k8s-deploy-arm.rst" + export ADAPTER_OS_PATTERN='(?i)CentOS-7.*arm.*' + SCENARIO=${SCENARIO:-k8-nosdn-nofeature-noha.yml} +fi + sudo apt-get update sudo apt-get install -y git |