Update debi.sh

pull/114/head
Brent, Bohan Yang 2 years ago committed by GitHub
parent b5b37cbf44
commit 47ce372bb6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 9
      debi.sh

@ -212,7 +212,7 @@ password=
authorized_keys_url= authorized_keys_url=
sudo_with_password=false sudo_with_password=false
timezone=UTC timezone=UTC
ntp=0.debian.pool.ntp.org ntp=time.google.com
disk_partitioning=true disk_partitioning=true
disk= disk=
force_gpt=true force_gpt=true
@ -246,10 +246,15 @@ cidata=
while [ $# -gt 0 ]; do while [ $# -gt 0 ]; do
case $1 in case $1 in
--cdn) --cdn)
mirror_host=deb.debian.org
;; ;;
--aws) --aws)
mirror_host=cdn-aws.deb.debian.org mirror_host=cdn-aws.deb.debian.org
ntp=time.aws.com
;;
--cloudflare)
dns='1.1.1.1 1.0.0.1'
dns6='2606:4700:4700::1111 2606:4700:4700::1001'
ntp=time.cloudflare.com
;; ;;
--aliyun) --aliyun)
dns='223.5.5.5 223.6.6.6' dns='223.5.5.5 223.6.6.6'

Loading…
Cancel
Save