Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaemon Coder <11915375+codefiles@users.noreply.github.com>2023-05-06 02:09:34 -0400
committerGitHub <noreply@github.com>2023-05-06 08:09:34 +0200
commitf0fc6a77f21aabacc1c9ef772875f8dd97344af8 (patch)
tree4552689347ba1c72e94403088688be5cd3bf325d
parent1330c68084580a3ed42a799c3f846cb78a520269 (diff)
Fix NTP option (#1788)
-rw-r--r--archinstall/lib/global_menu.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/archinstall/lib/global_menu.py b/archinstall/lib/global_menu.py
index 0ec057f3..db7af63b 100644
--- a/archinstall/lib/global_menu.py
+++ b/archinstall/lib/global_menu.py
@@ -18,6 +18,7 @@ from .user_interaction import ask_for_audio_selection
from .user_interaction import ask_for_bootloader
from .user_interaction import ask_for_swap
from .user_interaction import ask_hostname
+from .user_interaction import ask_ntp
from .user_interaction import ask_to_configure_network
from .user_interaction import get_password, ask_for_a_timezone
from .user_interaction import select_additional_repositories
@@ -163,6 +164,7 @@ class GlobalMenu(AbstractMenu):
self._menu_options['ntp'] = \
Selector(
_('Automatic time sync (NTP)'),
+ lambda preset: ask_ntp(preset),
default=True)
self._menu_options['__separator__'] = \
Selector('')