Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/archinstall/lib/menu/selection_menu.py
diff options
context:
space:
mode:
authorWerner Llácer <wllacer@gmail.com>2022-03-28 13:44:10 +0200
committerGitHub <noreply@github.com>2022-03-28 13:44:10 +0200
commite85c9b65315498ab4701ea31c079d198eba8d9ac (patch)
treee19c6066c3ba0d27f724f783431165199b98c991 /archinstall/lib/menu/selection_menu.py
parent69bd88a7f9f537b8015915110ee9e4333be31fc1 (diff)
Issues with Network Management and user management in menu (#1036)
* A problem with default values treatment at superusers (and users) on the main menu * Solving issues when changing the selection of nic, ask_to_configure_network failed in several places. Solved, temporarily with the creation of __getitem__ and get methods at NetworkManager * Accept old style definitions for nic * flake8 complains * log string corrected (issue 1039) * Correct exit when no disk is selected and we don't wish to continue
Diffstat (limited to 'archinstall/lib/menu/selection_menu.py')
-rw-r--r--archinstall/lib/menu/selection_menu.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/archinstall/lib/menu/selection_menu.py b/archinstall/lib/menu/selection_menu.py
index 9b40b0e7..af896d58 100644
--- a/archinstall/lib/menu/selection_menu.py
+++ b/archinstall/lib/menu/selection_menu.py
@@ -502,6 +502,7 @@ class GlobalMenu(GeneralMenu):
_('Specify superuser account'),
lambda preset: self._create_superuser_account(),
exec_func=lambda n,v:self._users_resynch(),
+ default={},
dependencies_not=['!root-password'],
display_func=lambda x: self._display_superusers())
self._menu_options['!users'] = \
@@ -656,7 +657,7 @@ class GlobalMenu(GeneralMenu):
choice = Menu(prompt, ['yes', 'no'], default_option='yes').run()
if choice == 'no':
- return self._select_harddrives()
+ exit(1)
return harddrives