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:44:03 +0200
committerAnton Hvornum <anton@hvornum.se>2021-04-09 13:44:03 +0200
commitcea8892c7c7a46548d4d946b3e5ed5142757ea13 (patch)
tree8dd88b48c89d6dd4918328cc527ba30c8ef182f5
parent9ebd8b8719d9f2643a4b503b9e9aca02edeee0bd (diff)
Setting .encrypted flag in minimal.
-rw-r--r--examples/minimal.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/examples/minimal.py b/examples/minimal.py
index afd64a2e..adb033b6 100644
--- a/examples/minimal.py
+++ b/examples/minimal.py
@@ -54,6 +54,7 @@ with archinstall.Filesystem(archinstall.arguments['harddrive'], archinstall.GPT)
# We encrypt the root partition if we got a password to do so with,
# Otherwise we just skip straight to formatting and installation
if archinstall.arguments.get('!encryption-password', None):
+ root.encrypted = True
root.encrypt()
with archinstall.luks2(root, 'luksloop', archinstall.arguments.get('!encryption-password', None)) as unlocked_root: