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