mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-11-04 19:54:52 +00:00
For filesharing to work properly the VM and host clocks should be in-sync, even if the host clock has drifted relative to a good external timesource. This patch removes ntp from the VM and replaces it with an hourly sync with the VM's RTC which is plumbed into `gmtime`/`localtime` in `xhyve`. Fixes [docker/pinata#229] Signed-off-by: David Scott <dave.scott@unikernel.com>
3 lines
61 B
Plaintext
3 lines
61 B
Plaintext
# resync with the host clock every hour
|
|
0 * * * * hwclock -s
|