iPXE discussion forum
Date Time? - Printable Version

+- iPXE discussion forum (https://forum.ipxe.org)
+-- Forum: iPXE user forums (/forumdisplay.php?fid=1)
+--- Forum: General (/forumdisplay.php?fid=2)
+--- Thread: Date Time? (/showthread.php?tid=14900)



Date Time? - violet94 - 2018-10-24 04:48

Hello,

Is there anyway I can set the system date and time via script in IPXE?

I can get the correct time via NTP which ipxe will then use. But I really need to use this to then set the date time of the system.

I essentially chainboot a linux image to install linux, the first thing this does is pull down a preseed/kickstart file over https and then fails due to incorrect time.

Thanks.


RE: Date Time? - NiKiZe - 2018-10-24 13:15

You have http://ipxe.org/cfg/unixtime
The first thing the OS should do is probably to run ntp as well instead tho.