From 8a4de67dd8522b0ae076a66442f929bd8dc1c2ed Mon Sep 17 00:00:00 2001 From: Molly Lau Date: Wed, 10 Oct 2018 16:03:36 +0800 Subject: [PATCH] Update InstallNET.sh --- Linux_reinstall/InstallNET.sh | 24 ++++++++++++++++++------ 1 file changed, 18 insertions(+), 6 deletions(-) diff --git a/Linux_reinstall/InstallNET.sh b/Linux_reinstall/InstallNET.sh index 7273aca..c9a0381 100644 --- a/Linux_reinstall/InstallNET.sh +++ b/Linux_reinstall/InstallNET.sh @@ -4,8 +4,11 @@ ## Suitable for using by GRUB. ## Default root password: Vicer ## Blog: https://zhuanlan.zhihu.com/originaltechnic -## Written By Vicer, modifiedby Molly +## Written By Vicer, modified by MollyLau + +export name_server='1.1.1.1' +export tm_zone='Asia/Shanghai' export tmpVER='' export tmpDIST='' export tmpURL='' @@ -595,11 +598,13 @@ $UNCOMP < /tmp/$NewIMG | cpio --extract --verbose --make-directories --no-absolu if [[ "$linuxdists" == 'debian' ]] || [[ "$linuxdists" == 'ubuntu' ]]; then cat >/tmp/boot/preseed.cfg<