--- anaconda | 9 +++++++++ data/systemd/anaconda.target | 2 +- 2 files changed, 10 insertions(+), 1 deletions(-) diff --git a/anaconda b/anaconda index 3075cca..bb847c9 100755 --- a/anaconda +++ b/anaconda @@ -610,6 +610,7 @@ if __name__ == "__main__": from pyanaconda import iutil from pyanaconda import vnc from pyanaconda import kickstart + from pyanaconda import ntp import gettext _ = lambda x: gettext.ldgettext("anaconda", x) @@ -834,6 +835,14 @@ if __name__ == "__main__": threadMgr.add(AnacondaThread(name="AnaPayloadThread", target=payloadInitialize, args=(anaconda.storage, ksdata, anaconda.payload))) atexit.register(exitHandler, ksdata.reboot, anaconda.storage) + + # setup ntp servers and start NTP daemon if not requested otherwise + if (not flags.imageInstall) and anaconda.ksdata.timezone.ntp_servers: + ntp.save_servers_to_config(anaconda.ksdata.timezone.ntp_servers) + + if not anaconda.ksdata.timezone.nontp: + iutil.start_service("chronyd") + # FIXME: This will need to be made cleaner once this file starts to take # shape with the new UI code. anaconda._intf.setup(ksdata) diff --git a/data/systemd/anaconda.target b/data/systemd/anaconda.target index 88eb37b..844999e 100644 --- a/data/systemd/anaconda.target +++ b/data/systemd/anaconda.target @@ -4,4 +4,4 @@ Requires=basic.target Conflicts=rescue.service rescue.target After=basic.target rescue.service rescue.target AllowIsolate=yes -Wants=loader.service anaconda-shell@tty2.service anaconda-shell@hvc1.service chronyd.service +Wants=loader.service anaconda-shell@tty2.service anaconda-shell@hvc1.service -- 1.7.4.4 _______________________________________________ Anaconda-devel-list mailing list Anaconda-devel-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/anaconda-devel-list