Unverified Commit 13eae85c authored by Erik Wilson's avatar Erik Wilson Committed by GitHub

Merge pull request #407 from ibuildthecloud/master

Add ability to set architecture
parents a66aae51 8867c509
...@@ -189,7 +189,9 @@ verify_k3s_is_executable() { ...@@ -189,7 +189,9 @@ verify_k3s_is_executable() {
# --- set arch and suffix, fatal if architecture not supported --- # --- set arch and suffix, fatal if architecture not supported ---
setup_verify_arch() { setup_verify_arch() {
ARCH=`uname -m` if [ -z "$ARCH" ]; then
ARCH=`uname -m`
fi
case $ARCH in case $ARCH in
amd64) amd64)
ARCH=amd64 ARCH=amd64
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment