refactor(os): Always enable NTP (#19)

This commit is contained in:
hygienic-books 2023-11-11 04:05:21 +01:00
parent d74fc097eb
commit fd2c08a18a

View File

@ -1434,6 +1434,10 @@ function configure_dns () {
systemctl enable 'systemd-resolved.service' --root='/mnt' systemctl enable 'systemd-resolved.service' --root='/mnt'
} }
function configure_ntp () {
systemctl enable 'systemd-timesyncd.service' --root='/mnt'
}
function configure_reflector () { function configure_reflector () {
#3.5 #3.5
systemctl enable 'reflector.service' 'reflector.timer' --root='/mnt' systemctl enable 'reflector.service' 'reflector.timer' --root='/mnt'
@ -1514,6 +1518,7 @@ function finalize_os_setup () {
configure_sshd configure_sshd
fi fi
configure_dns #3.4 configure_dns #3.4
configure_ntp
configure_reflector #3.5 configure_reflector #3.5
configure_zfs #3.6 configure_zfs #3.6
configure_zfs_mount_gen #3.7 configure_zfs_mount_gen #3.7