From 93efce92a96fa7aeff813ca1e3b3b398edf50bb6 Mon Sep 17 00:00:00 2001 From: Anton Hvornum Date: Fri, 5 Nov 2021 17:03:07 +0100 Subject: Renamed the ntp function, as it doesn't install/enable ntp any longer. Even tho it uses the NTP protocol. --- archinstall/lib/installer.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'archinstall') diff --git a/archinstall/lib/installer.py b/archinstall/lib/installer.py index 8f32dd33..1585d535 100644 --- a/archinstall/lib/installer.py +++ b/archinstall/lib/installer.py @@ -256,7 +256,11 @@ class Installer: ) def activate_ntp(self): - self.log('Installing and activating NTP.', level=logging.INFO) + log(f"activate_ntp() is deprecated, use activate_time_syncronization()", fg="yellow", level=logging.INFO) + self.activate_time_syncronization() + + def activate_time_syncronization(self): + self.log('Installing and activating time synchronization.', level=logging.INFO) self.enable_service('systemd-timesyncd') with open(f"{self.target}/etc/systemd/timesyncd.conf", "w") as fh: -- cgit v1.2.3-70-g09d2