Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorAnton Hvornum <anton.feeds@gmail.com>2021-11-11 09:59:22 +0000
committerAnton Hvornum <anton.feeds@gmail.com>2021-11-11 09:59:22 +0000
commitad09c8cfa29e891ed23c084a26993ae92dcf1265 (patch)
tree1939bc95535858c93fda6224298cba106d4f2b11 /examples
parent813afa150719d99418bbb79cb1c4d25e7f07a0f6 (diff)
Bad copy paste of code prohibited credentials from being stored.
Diffstat (limited to 'examples')
-rw-r--r--examples/guided.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/guided.py b/examples/guided.py
index 1b571d17..f009d938 100644
--- a/examples/guided.py
+++ b/examples/guided.py
@@ -245,8 +245,8 @@ def perform_filesystem_operations():
def perform_installation(mountpoint):
user_credentials = {
"!users" : archinstall.arguments['!users'],
- "!superusers" : archinstall.arguments['!users'],
- "!root-password" : archinstall.arguments['!users'],
+ "!superusers" : archinstall.arguments['!superusers'],
+ "!root-password" : archinstall.arguments['!root-password'],
}
if archinstall.arguments.get('!encryption-password'):
user_credentials["!encryption-password"] = archinstall.arguments.get('!encryption-password')