Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/archinstall/lib
diff options
context:
space:
mode:
Diffstat (limited to 'archinstall/lib')
-rw-r--r--archinstall/lib/configuration.py2
-rw-r--r--archinstall/lib/global_menu.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/archinstall/lib/configuration.py b/archinstall/lib/configuration.py
index 77fed755..22c41c0d 100644
--- a/archinstall/lib/configuration.py
+++ b/archinstall/lib/configuration.py
@@ -29,7 +29,7 @@ class ConfigurationOutput:
self._user_config_file = 'user_configuration.json'
self._user_creds_file = "user_credentials.json"
- self._sensitive = ['!users']
+ self._sensitive = ['!users', '!root-password']
self._ignore = ['abort', 'install', 'config', 'creds', 'dry_run']
self._process_config()
diff --git a/archinstall/lib/global_menu.py b/archinstall/lib/global_menu.py
index db7af63b..a969d93f 100644
--- a/archinstall/lib/global_menu.py
+++ b/archinstall/lib/global_menu.py
@@ -107,7 +107,7 @@ class GlobalMenu(AbstractMenu):
Selector(
_('User account'),
lambda x: self._create_user_account(x),
- default={},
+ default=[],
display_func=lambda x: f'{len(x)} {_("User(s)")}' if len(x) > 0 else None,
preview_func=self._prev_users)
self._menu_options['profile_config'] = \