Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/examples/guided.py
diff options
context:
space:
mode:
Diffstat (limited to 'examples/guided.py')
-rw-r--r--examples/guided.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/examples/guided.py b/examples/guided.py
index d9dd0ac6..b57d5e34 100644
--- a/examples/guided.py
+++ b/examples/guided.py
@@ -55,7 +55,9 @@ def perform_installation(device, boot_partition, language, mirrors):
if 'profile' in archinstall.storage['_guided'] and len(profile := archinstall.storage['_guided']['profile']['path'].strip()):
installation.install_profile(profile)
- for user, password in archinstall.storage['_guided']['users'].items():
+ for user in archinstall.storage['_guided']['users']:
+ password = users[user]
+
sudo = False
if len(archinstall.storage['_guided_hidden']['root_pw'].strip()) == 0:
sudo = True