mirror of https://github.com/k3s-io/k3s
commit
13eae85c8c
|
@ -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() {
|
||||||
|
if [ -z "$ARCH" ]; then
|
||||||
ARCH=`uname -m`
|
ARCH=`uname -m`
|
||||||
|
fi
|
||||||
case $ARCH in
|
case $ARCH in
|
||||||
amd64)
|
amd64)
|
||||||
ARCH=amd64
|
ARCH=amd64
|
||||||
|
|
Loading…
Reference in New Issue