瀏覽代碼

Update debi.sh

Brent, Bohan Yang 2 年之前
父節點
當前提交
8b42031edf
共有 1 個文件被更改,包括 11 次插入3 次删除
  1. 11 3
      debi.sh

+ 11 - 3
debi.sh

@@ -197,6 +197,7 @@ ip=
 netmask=
 gateway=
 dns='8.8.8.8 8.8.4.4'
+dns6='2001:4860:4860::8888 2001:4860:4860::8844'
 hostname=
 network_console=false
 set_debian_version 12
@@ -252,18 +253,21 @@ while [ $# -gt 0 ]; do
             ;;
         --aliyun)
             dns='223.5.5.5 223.6.6.6'
+            dns6='2400:3200::1 2400:3200:baba::1'
             mirror_host=mirrors.aliyun.com
-            ntp=ntp.aliyun.com
+            ntp=time.amazonaws.cn
             ;;
         --ustc|--china)
             dns='119.29.29.29'
+            dns6='2402:4e00::'
             mirror_host=mirrors.ustc.edu.cn
-            ntp=time.ustc.edu.cn
+            ntp=time.amazonaws.cn
             ;;
         --tuna)
             dns='119.29.29.29'
+            dns6='2402:4e00::'
             mirror_host=mirrors.tuna.tsinghua.edu.cn
-            ntp=ntp.tuna.tsinghua.edu.cn
+            ntp=time.amazonaws.cn
             ;;
         --interface)
             interface=$2
@@ -285,6 +289,10 @@ while [ $# -gt 0 ]; do
             dns=$2
             shift
             ;;
+        --dns6)
+            dns6=$2
+            shift
+            ;;
         --hostname)
             hostname=$2
             shift