Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnton Hvornum <anton@hvornum.se>2021-04-09 13:59:55 +0200
committerAnton Hvornum <anton@hvornum.se>2021-04-09 13:59:55 +0200
commitda12f3630575976d43a6c717235bc273c63da7bd (patch)
tree76b68c59ebbb9c3bddebadeef212f0e471056b24
parentcea8892c7c7a46548d4d946b3e5ed5142757ea13 (diff)
Forgot to give a password during encryption.
-rw-r--r--examples/minimal.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/minimal.py b/examples/minimal.py
index adb033b6..d40ce2f8 100644
--- a/examples/minimal.py
+++ b/examples/minimal.py
@@ -55,7 +55,7 @@ with archinstall.Filesystem(archinstall.arguments['harddrive'], archinstall.GPT)
# Otherwise we just skip straight to formatting and installation
if archinstall.arguments.get('!encryption-password', None):
root.encrypted = True
- root.encrypt()
+ root.encrypt(password=archinstall.arguments.get('!encryption-password', None))
with archinstall.luks2(root, 'luksloop', archinstall.arguments.get('!encryption-password', None)) as unlocked_root:
unlocked_root.format(root.filesystem)