mirror of
https://github.com/flatcar/scripts.git
synced 2025-08-19 21:41:05 +02:00
Some VM platforms suspend machines by simply stopping them instead of gracefully suspending them like real hardware would. This means that when the system is resumed the kernel's time will be completely wrong and it doesn't have a way to fix it. Additionally ntp will abort if the clock offset is greater than 1000 seconds (conveniently without logging any error messages). We can tune that in ntp.conf but ntpd has so many knobs related to how it skews the clock and other update strategies that the easiest option is to just restart.