From c3256ffa3ad0aa0db85d95c6cf698c1fe6228011 Mon Sep 17 00:00:00 2001 From: Bohan Yang Date: Fri, 5 Jul 2019 23:02:51 +0800 Subject: [PATCH] Update --- README.md | 6 +++--- netboot.sh | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 958e0bd..f9558fe 100644 --- a/README.md +++ b/README.md @@ -20,7 +20,7 @@ This script is used to re-install VPS to Debian 9 with the official installer, b - `--ip` - `--netmask` - `--gateway` - - `--ns "1.1.1.1 1.0.0.1"` + - `--ns "1.1.1.1 1.0.0.1 8.8.8.8"` - `--hostname debian` - `--ssh-password` - `--ssh-keys` @@ -49,7 +49,7 @@ This script is used to re-install VPS to Debian 9 with the official installer, b ### `china` - - `--ns "156.154.70.5 156.154.71.5"` + - `--ns "156.154.70.5 156.154.71.5 8.8.8.8"` - `--protocol https` - `--mirror chinanet.mirrors.ustc.edu.cn` - `--security true` @@ -61,4 +61,4 @@ This script is used to re-install VPS to Debian 9 with the official installer, b - `--protocol https` - `--mirror cdn-aws.deb.debian.org` - `--security true` - - `--ntp time.google.com` + - `--ntp time.cloudflare.com` diff --git a/netboot.sh b/netboot.sh index d24dcf8..55d16a0 100644 --- a/netboot.sh +++ b/netboot.sh @@ -157,7 +157,7 @@ done if [ -n "$DEBI_PRESET" ]; then case "$DEBI_PRESET" in china) - DEBI_NS=${DEBI_NS:-156.154.70.5 156.154.71.5} + DEBI_NS=${DEBI_NS:-156.154.70.5 156.154.71.5 8.8.8.8} DEBI_PROTOCOL=${DEBI_PROTOCOL:-https} DEBI_MIRROR=${DEBI_MIRROR:-chinanet.mirrors.ustc.edu.cn} DEBI_TIMEZONE=${DEBI_TIMEZONE:-Asia/Shanghai} @@ -167,7 +167,7 @@ if [ -n "$DEBI_PRESET" ]; then cloud) DEBI_PROTOCOL=${DEBI_PROTOCOL:-https} DEBI_MIRROR=${DEBI_MIRROR:-cdn-aws.deb.debian.org} - DEBI_NTP=${DEBI_NTP:-time.google.com} + DEBI_NTP=${DEBI_NTP:-time.cloudflare.com} DEBI_SECURITY=${DEBI_SECURITY:-true} ;; *) @@ -206,7 +206,7 @@ d-i keyboard-configuration/xkb-keymap select us d-i netcfg/choose_interface select auto EOF -DEBI_NS=${DEBI_NS:-1.1.1.1 1.0.0.1} +DEBI_NS=${DEBI_NS:-1.1.1.1 1.0.0.1 8.8.8.8} if [ -n "$DEBI_IP" ]; then echo 'd-i netcfg/disable_autoconfig boolean true' | $save_preseed