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 MANUALLY=true
;; ;;
-arch) -arch)
MACHARCH=$2 ARCH=$2
shift shift
;; ;;
*) *)
@@ -130,7 +130,7 @@ COUNTRY=${COUNTRY:-US}
PROTO=${PROTO:-http} PROTO=${PROTO:-http}
HOST=${HOST:-deb.debian.org} HOST=${HOST:-deb.debian.org}
DIR=${DIR:-/debian} DIR=${DIR:-/debian}
if [ -z "$SECURITY" ]; then if [ -z "$ARCH" ]; then
ARCH=$(dpkg --print-architecture) ARCH=$(dpkg --print-architecture)
fi fi
SUITE=${SUITE:-stretch} SUITE=${SUITE:-stretch}