[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[PATCH 2/2] Setup NTP servers specified in the kickstart before UI appears



---
 anaconda |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/anaconda b/anaconda
index 3075cca..21f3edb 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,10 @@ if __name__ == "__main__":
     threadMgr.add(AnacondaThread(name="AnaPayloadThread", target=payloadInitialize, args=(anaconda.storage, ksdata, anaconda.payload)))
 
     atexit.register(exitHandler, ksdata.reboot, anaconda.storage)
+
+    if anaconda.ksdata.ntp_servers:
+        ntp.save_servers_to_config(anaconda.ksdata.ntp_servers)
+
     # FIXME:  This will need to be made cleaner once this file starts to take
     # shape with the new UI code.
     anaconda._intf.setup(ksdata)
-- 
1.7.4.4


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]