From cea8892c7c7a46548d4d946b3e5ed5142757ea13 Mon Sep 17 00:00:00 2001 From: Anton Hvornum Date: Fri, 9 Apr 2021 13:44:03 +0200 Subject: Setting .encrypted flag in minimal. --- examples/minimal.py | 1 + 1 file changed, 1 insertion(+) (limited to 'examples') 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: -- cgit v1.2.3-70-g09d2