From 79904207accb22f237539c21b2f9eea17b0176e8 Mon Sep 17 00:00:00 2001 From: paulober <44974737+paulober@users.noreply.github.com> Date: Thu, 17 Oct 2024 17:41:02 +0100 Subject: [PATCH] Add only available NTP client Signed-off-by: paulober <44974737+paulober@users.noreply.github.com> --- config/cloud.cfg.tmpl | 2 ++ 1 file changed, 2 insertions(+) diff --git a/config/cloud.cfg.tmpl b/config/cloud.cfg.tmpl index 7c0019d86ac..8ec171cb1a8 100644 --- a/config/cloud.cfg.tmpl +++ b/config/cloud.cfg.tmpl @@ -344,6 +344,8 @@ system_info: {% if variant in ["debian", "ubuntu", "unknown"] %} # Automatically discover the best ntp_client ntp_client: auto +{% elif variant == "raspberry-pi-os" %} + ntp_client: 'systemd-timesyncd' {% endif %} {% if variant in ["alpine", "amazon", "aosc", "arch", "azurelinux", "debian", "fedora", "gentoo", "mariner", "OpenCloudOS", "openeuler",