From c5c476f84ef628f0588cbec52eafc0e0ebcda642 Mon Sep 17 00:00:00 2001 From: Molly Lau Date: Mon, 18 Sep 2023 19:28:26 +0900 Subject: [PATCH] Update ubuntuInit.sh --- Linux_reinstall/Ubuntu/ubuntuInit.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Linux_reinstall/Ubuntu/ubuntuInit.sh b/Linux_reinstall/Ubuntu/ubuntuInit.sh index 94ba668..7a8800b 100644 --- a/Linux_reinstall/Ubuntu/ubuntuInit.sh +++ b/Linux_reinstall/Ubuntu/ubuntuInit.sh @@ -114,7 +114,7 @@ sed -ri 's/ip6DNS2/'${ip6DNS2}'/g' /mnt/etc/cloud/cloud.cfg.d/99-fake_cloud.cfg # Disable any datahouse # Reference: https://github.com/canonical/cloud-init/issues/3772 -echo 'datasource_list: [ NoCloud, None ]' > /mnt/etc/cloud/cloud.cfg.d/90_dpkg.cfg +echo 'datasource_list: [NoCloud]' > /mnt/etc/cloud/cloud.cfg.d/90_dpkg.cfg # disable IPv6 [[ "$setIPv6" == "0" ]] && {