mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-07-20 09:39:08 +00:00
set clock periodically, as had incident when it was set to 1970 with chronyd running!
Signed-off-by: Justin Cormack <justin.cormack@unikernel.com>
This commit is contained in:
parent
8558e6e0c0
commit
9a3fa822db
@ -32,6 +32,7 @@ COPY packages/diagnostics/diagnostics /usr/bin/
|
|||||||
COPY packages/diagnostics/etc /etc/
|
COPY packages/diagnostics/etc /etc/
|
||||||
COPY packages/automount/etc /etc/
|
COPY packages/automount/etc /etc/
|
||||||
COPY packages/9pinit/etc /etc/
|
COPY packages/9pinit/etc /etc/
|
||||||
|
COPY packages/ntp15m/etc /etc/
|
||||||
|
|
||||||
RUN \
|
RUN \
|
||||||
rc-update add swap boot && \
|
rc-update add swap boot && \
|
||||||
|
3
alpine/packages/ntp15m/etc/periodic/15m/ntp
Executable file
3
alpine/packages/ntp15m/etc/periodic/15m/ntp
Executable file
@ -0,0 +1,3 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
ntpd -n -q -p pool.ntp.org
|
Loading…
Reference in New Issue
Block a user