From fd2c08a18a3b3ebd5b9eae8f689a02988e21a8a4 Mon Sep 17 00:00:00 2001 From: hygienic-books Date: Sat, 11 Nov 2023 04:05:21 +0100 Subject: [PATCH] refactor(os): Always enable NTP (#19) --- setup.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/setup.sh b/setup.sh index 0424583..60ac380 100644 --- a/setup.sh +++ b/setup.sh @@ -1434,6 +1434,10 @@ function configure_dns () { systemctl enable 'systemd-resolved.service' --root='/mnt' } +function configure_ntp () { + systemctl enable 'systemd-timesyncd.service' --root='/mnt' +} + function configure_reflector () { #3.5 systemctl enable 'reflector.service' 'reflector.timer' --root='/mnt' @@ -1514,6 +1518,7 @@ function finalize_os_setup () { configure_sshd fi configure_dns #3.4 + configure_ntp configure_reflector #3.5 configure_zfs #3.6 configure_zfs_mount_gen #3.7