Made sure NTP matches the default value when 'skipped'.

This commit is contained in:
Anton Hvornum 2021-05-23 11:41:55 +02:00
parent 43792cd7f3
commit 1c9adbbedf
1 changed files with 1 additions and 1 deletions

View File

@ -250,7 +250,7 @@ def ask_user_questions():
if archinstall.arguments['timezone']:
if not archinstall.arguments.get('ntp', False):
archinstall.arguments['ntp'] = input("Would you like to use automatic time synchronization (NTP) with the default time servers? [Y/n]: ").strip().lower() in ('y', 'yes')
archinstall.arguments['ntp'] = input("Would you like to use automatic time synchronization (NTP) with the default time servers? [Y/n]: ").strip().lower() in ('y', 'yes', '')
if archinstall.arguments['ntp']:
archinstall.log("Hardware time and other post-configuration steps might be required in order for NTP to work. For more information, please check the Arch wiki.", fg="yellow")