index : archinstall32 | |
Archlinux32 installer | gitolite user |
summaryrefslogtreecommitdiff |
author | Anton Hvornum <anton.feeds@gmail.com> | 2021-11-02 09:21:24 +0000 |
---|---|---|
committer | Anton Hvornum <anton.feeds@gmail.com> | 2021-11-02 09:21:24 +0000 |
commit | 0d80eba2193cd65b93817bc6ebf0a9849268056c (patch) | |
tree | 4d52ac5a80ddc56e00d1c87bc9c5cb34ce5cd5eb /archinstall/lib | |
parent | e70cfa65bb73cc81ea1c500c58c463180ad6e442 (diff) |
-rw-r--r-- | archinstall/lib/installer.py | 4 |
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: |