Update netboot.sh

This commit is contained in:
Brent, Yang Bohan
2019-03-25 00:10:54 +08:00
committed by GitHub
parent cbc703fe42
commit 76dabcb45d
+2 -2
View File
@@ -106,7 +106,7 @@ while [ $# -gt 0 ]; do
MANUALLY=true
;;
-arch)
MACHARCH=$2
ARCH=$2
shift
;;
*)
@@ -130,7 +130,7 @@ COUNTRY=${COUNTRY:-US}
PROTO=${PROTO:-http}
HOST=${HOST:-deb.debian.org}
DIR=${DIR:-/debian}
if [ -z "$SECURITY" ]; then
if [ -z "$ARCH" ]; then
ARCH=$(dpkg --print-architecture)
fi
SUITE=${SUITE:-stretch}