Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
Diffstat (limited to 'examples')
-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)