Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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():