From 6098ff3612677d6120c9956610b919ec832caf0a Mon Sep 17 00:00:00 2001 From: Malte Poll <1780588+malt3@users.noreply.github.com> Date: Wed, 19 Jul 2023 14:11:24 +0200 Subject: [PATCH] image: synchronize time via ntp (#2118) --- .../usr/lib/systemd/system-preset/30-constellation.preset | 1 + .../usr/lib/systemd/timesyncd.conf.d/constellation.conf | 1 + 2 files changed, 2 insertions(+) create mode 100644 image/mkosi.skeleton/usr/lib/systemd/timesyncd.conf.d/constellation.conf diff --git a/image/mkosi.skeleton/usr/lib/systemd/system-preset/30-constellation.preset b/image/mkosi.skeleton/usr/lib/systemd/system-preset/30-constellation.preset index 4008179c8..19fe3188e 100644 --- a/image/mkosi.skeleton/usr/lib/systemd/system-preset/30-constellation.preset +++ b/image/mkosi.skeleton/usr/lib/systemd/system-preset/30-constellation.preset @@ -8,3 +8,4 @@ enable systemd-networkd.socket enable systemd-resolved.service enable measurements.service enable export_constellation_debug.service +enable systemd-timesyncd diff --git a/image/mkosi.skeleton/usr/lib/systemd/timesyncd.conf.d/constellation.conf b/image/mkosi.skeleton/usr/lib/systemd/timesyncd.conf.d/constellation.conf new file mode 100644 index 000000000..0a3e99909 --- /dev/null +++ b/image/mkosi.skeleton/usr/lib/systemd/timesyncd.conf.d/constellation.conf @@ -0,0 +1 @@ +FallbackNTP=time.google.com time.cloudflare.com time.windows.com time.apple.com time.nist.gov europe.pool.ntp.org 0.rhel.pool.ntp.org 1.rhel.pool.ntp.org 2.rhel.pool.ntp.org 3.rhel.pool.ntp.org