Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/examples/guided.py
diff options
context:
space:
mode:
authorAnton Hvornum <anton@hvornum.se>2021-05-23 11:41:55 +0200
committerAnton Hvornum <anton@hvornum.se>2021-05-23 11:41:55 +0200
commit1c9adbbedfcbd821fc4f4a74f1e63699ac33d6f5 (patch)
tree0db50d97d36edafaf7e90ffdaf3aeb893a9a0e2a /examples/guided.py
parent43792cd7f39524f97df05e84132d99b132817f70 (diff)
Made sure NTP matches the default value when 'skipped'.
Diffstat (limited to 'examples/guided.py')
-rw-r--r--examples/guided.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/guided.py b/examples/guided.py
index c3e5848b..73fded4e 100644
--- a/examples/guided.py
+++ b/examples/guided.py
@@ -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")