index : archinstall32 | |
Archlinux32 installer | gitolite user |
summaryrefslogtreecommitdiff |
author | Anton Hvornum <anton.feeds@gmail.com> | 2021-11-02 09:23:02 +0000 |
---|---|---|
committer | Anton Hvornum <anton.feeds@gmail.com> | 2021-11-02 09:23:02 +0000 |
commit | d7449cc887a783febc07257e13dfda7c763a5afe (patch) | |
tree | 72b423987625e8eee9208bf102ef2b6bdce83c08 /archinstall/lib/installer.py | |
parent | 0d80eba2193cd65b93817bc6ebf0a9849268056c (diff) |
-rw-r--r-- | archinstall/lib/installer.py | 6 |
diff --git a/archinstall/lib/installer.py b/archinstall/lib/installer.py index d1e36d98..c2c94206 100644 --- a/archinstall/lib/installer.py +++ b/archinstall/lib/installer.py @@ -248,9 +248,9 @@ class Installer: def activate_ntp(self): self.log('Installing and activating NTP.', level=logging.INFO) - if self.pacstrap('ntp'): - with Boot(self) as session: - session.SysCommand(["timedatectl", "set-ntp", 'true']) + self.enable_service('systemd-timesyncd'): + with Boot(self) as session: + session.SysCommand(["timedatectl", "set-ntp", 'true']) def enable_service(self, *services): for service in services: |