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-22 20:10:30 +0200
committerAnton Hvornum <anton@hvornum.se>2021-05-22 20:10:30 +0200
commit1e53f4a65f8eb5f34953006e0cdf5502a89e89c7 (patch)
treec4d3ffd97a46a5c483b0a031aa411539e6b9c24e /examples/guided.py
parente3a629a6ff71a7d8d3d66f66c40229ecd0e7b8e9 (diff)
Made NTP question only on timezone for now.
Diffstat (limited to 'examples/guided.py')
-rw-r--r--examples/guided.py9
1 files changed, 5 insertions, 4 deletions
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():