Made sure NTP matches the default value when 'skipped'.
This commit is contained in:
parent
43792cd7f3
commit
1c9adbbedf
|
|
@ -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")
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue