From 3c67fa2c87d1d17338063b69f42b1c6459280eb4 Mon Sep 17 00:00:00 2001 From: Molly Lau Date: Thu, 8 Jun 2023 05:14:34 +0900 Subject: [PATCH] Update ubuntuInit.sh --- Linux_reinstall/Ubuntu/ubuntuInit.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/Linux_reinstall/Ubuntu/ubuntuInit.sh b/Linux_reinstall/Ubuntu/ubuntuInit.sh index 95169bc..83566c1 100644 --- a/Linux_reinstall/Ubuntu/ubuntuInit.sh +++ b/Linux_reinstall/Ubuntu/ubuntuInit.sh @@ -72,6 +72,7 @@ sed -ri 's/HostName/'${HostName}'/g' /mnt/etc/cloud/cloud.cfg.d/99-fake_cloud.cf sed -ri 's/tmpWORD/'${tmpWORD}'/g' /mnt/etc/cloud/cloud.cfg.d/99-fake_cloud.cfg sed -ri 's/sshPORT/'${sshPORT}'/g' /mnt/etc/cloud/cloud.cfg.d/99-fake_cloud.cfg sed -ri 's/TimeZone/'${TimeZone}'/g' /mnt/etc/cloud/cloud.cfg.d/99-fake_cloud.cfg +sed -ri 's/targetLinuxMirror/'${targetLinuxMirror}'/g' /mnt/etc/cloud/cloud.cfg.d/99-fake_cloud.cfg # Reboot, the system in the memory will all be written to the hard drive. exec reboot