瀏覽代碼

Update Chinese default options

Bohan Yang 7 年之前
父節點
當前提交
3c886715c1
共有 2 個文件被更改,包括 4 次插入4 次删除
  1. 2 2
      README.md
  2. 2 2
      netboot.sh

+ 2 - 2
README.md

@@ -51,8 +51,8 @@ sudo sh -c "$(wget -O - https://github.com/brentybh/debian-netboot/raw/master/ne
 
 
 If `-c CN` is used, Chinese Special options will be setup for good connectivity and experience against GFW.
 If `-c CN` is used, Chinese Special options will be setup for good connectivity and experience against GFW.
 
 
- - Default archive mirror is `http://ftp.cn.debian.org/debian`.
- - Default security mirror is `http://ftp.cn.debian.org/debian-security`.
+ - Default archive mirror is `https://mirrors.ustc.edu.cn/debian`.
+ - Default security mirror is `https://mirrors.ustc.edu.cn/debian-security`.
  - Default time zone is `Asia/Shanghai`.
  - Default time zone is `Asia/Shanghai`.
  - Default NTP server is `cn.ntp.org.cn`.
  - Default NTP server is `cn.ntp.org.cn`.
  - Default DNS is `156.154.70.5 156.154.71.5`.
  - Default DNS is `156.154.70.5 156.154.71.5`.

+ 2 - 2
netboot.sh

@@ -101,8 +101,8 @@ done
 
 
 case "$COUNTRY" in
 case "$COUNTRY" in
   CN)
   CN)
-    PROTO=${PROTO:-http}
-    HOST=${HOST:-ftp.cn.debian.org}
+    PROTO=${PROTO:-https}
+    HOST=${HOST:-mirrors.ustc.edu.cn}
     TIME_ZONE=${TIME_ZONE:-Asia/Shanghai}
     TIME_ZONE=${TIME_ZONE:-Asia/Shanghai}
     NTP=${NTP:-cn.ntp.org.cn}
     NTP=${NTP:-cn.ntp.org.cn}
     SECURITY=${SECURITY:-true}
     SECURITY=${SECURITY:-true}