Update netboot.sh

pull/8/head
Brent, Yang Bohan 7 years ago committed by GitHub
parent cbc703fe42
commit 76dabcb45d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      netboot.sh

@ -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}

Loading…
Cancel
Save