Merge pull request #407 from ibuildthecloud/master

Add ability to set architecture
pull/422/head
Erik Wilson 2019-04-30 11:20:36 -07:00 committed by GitHub
commit 13eae85c8c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 1 deletions

View File

@ -189,7 +189,9 @@ verify_k3s_is_executable() {
# --- set arch and suffix, fatal if architecture not supported ---
setup_verify_arch() {
if [ -z "$ARCH" ]; then
ARCH=`uname -m`
fi
case $ARCH in
amd64)
ARCH=amd64