From 1e53f4a65f8eb5f34953006e0cdf5502a89e89c7 Mon Sep 17 00:00:00 2001 From: Anton Hvornum Date: Sat, 22 May 2021 20:10:30 +0200 Subject: Made NTP question only on timezone for now. --- examples/guided.py | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'examples/guided.py') diff --git a/examples/guided.py b/examples/guided.py index fc2baec0..69561bfe 100644 --- a/examples/guided.py +++ b/examples/guided.py @@ -237,10 +237,11 @@ def ask_user_questions(): if not archinstall.arguments.get('timezone', None): archinstall.arguments['timezone'] = archinstall.ask_for_a_timezone() - if not archinstall.arguments.get('ntp', False): - archinstall.arguments['ntp'] = input("Would you like to use automatic time syncronization (ntp) with default time servers? N/y: ").strip().lower() in ('y', 'yes') - if archinstall.arguments['ntp']: - archinstall.log("Hardware time and other post configuration might be required for ntp to work. Please see wiki!", fg="yellow") + if archinstall.arguments['timezone']: + if not archinstall.arguments.get('ntp', False): + archinstall.arguments['ntp'] = input("Would you like to use automatic time syncronization (ntp) with default time servers? N/y: ").strip().lower() in ('y', 'yes') + if archinstall.arguments['ntp']: + archinstall.log("Hardware time and other post configuration might be required for ntp to work. Please see wiki!", fg="yellow") def perform_installation_steps(): -- cgit v1.2.3-70-g09d2