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

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

 



---
 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

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list


[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux