Made NTP question only on timezone for now.

This commit is contained in:
Anton Hvornum 2021-05-22 20:10:30 +02:00
parent e3a629a6ff
commit 1e53f4a65f
1 changed files with 5 additions and 4 deletions

View File

@ -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():