mirror of
https://github.com/bohanyang/debi.git
synced 2026-09-27 06:26:15 +00:00
Update netboot.sh
This commit is contained in:
@@ -105,6 +105,10 @@ while [ $# -gt 0 ]; do
|
|||||||
-manually)
|
-manually)
|
||||||
MANUALLY=true
|
MANUALLY=true
|
||||||
;;
|
;;
|
||||||
|
-arch)
|
||||||
|
MACHARCH=$2
|
||||||
|
shift
|
||||||
|
;;
|
||||||
*)
|
*)
|
||||||
echo "Illegal option $1"
|
echo "Illegal option $1"
|
||||||
exit 1
|
exit 1
|
||||||
@@ -126,7 +130,9 @@ 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
|
||||||
ARCH=$(dpkg --print-architecture)
|
ARCH=$(dpkg --print-architecture)
|
||||||
|
fi
|
||||||
SUITE=${SUITE:-stretch}
|
SUITE=${SUITE:-stretch}
|
||||||
ADMIN=${ADMIN:-debian}
|
ADMIN=${ADMIN:-debian}
|
||||||
TIME_ZONE=${TIME_ZONE:-UTC}
|
TIME_ZONE=${TIME_ZONE:-UTC}
|
||||||
|
|||||||
Reference in New Issue
Block a user