index : archinstall32 | |
Archlinux32 installer | gitolite user |
summaryrefslogtreecommitdiff |
author | Anton Hvornum <anton@hvornum.se> | 2021-11-05 22:03:24 +0100 |
---|---|---|
committer | Anton Hvornum <anton@hvornum.se> | 2021-11-05 22:03:24 +0100 |
commit | a5730dec856d4265667283e9ef8b9227db069a84 (patch) | |
tree | d725921bde3f0d7986391692ac329a53f813dc0c /archinstall/lib/user_interaction.py | |
parent | f1422d955fc793886c7f7b0f3906f8a2169d8d9e (diff) |
-rw-r--r-- | archinstall/lib/user_interaction.py | 1 |
diff --git a/archinstall/lib/user_interaction.py b/archinstall/lib/user_interaction.py index 84eefdc0..e62d8c6c 100644 --- a/archinstall/lib/user_interaction.py +++ b/archinstall/lib/user_interaction.py @@ -328,6 +328,7 @@ class MiniCurses: def ask_for_swap(prompt='Would you like to use swap on zram? (Y/n): ', forced=False): return True if input(prompt).strip(' ').lower() not in ('n', 'no') else False + def ask_for_superuser_account(prompt='Username for required superuser with sudo privileges: ', forced=False): while 1: new_user = input(prompt).strip(' ') |