From 0d80eba2193cd65b93817bc6ebf0a9849268056c Mon Sep 17 00:00:00 2001 From: Anton Hvornum Date: Tue, 2 Nov 2021 09:21:24 +0000 Subject: Changed from ntpd service to systemd-timesyncd. --- archinstall/lib/installer.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/archinstall/lib/installer.py b/archinstall/lib/installer.py index 0bdddb2e..d1e36d98 100644 --- a/archinstall/lib/installer.py +++ b/archinstall/lib/installer.py @@ -249,8 +249,8 @@ class Installer: def activate_ntp(self): self.log('Installing and activating NTP.', level=logging.INFO) if self.pacstrap('ntp'): - if self.enable_service('ntpd'): - return True + with Boot(self) as session: + session.SysCommand(["timedatectl", "set-ntp", 'true']) def enable_service(self, *services): for service in services: -- cgit v1.2.3-70-g09d2