Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/archinstall/__init__.py
diff options
context:
space:
mode:
Diffstat (limited to 'archinstall/__init__.py')
-rw-r--r--archinstall/__init__.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/archinstall/__init__.py b/archinstall/__init__.py
index b22b4663..9664c507 100644
--- a/archinstall/__init__.py
+++ b/archinstall/__init__.py
@@ -240,6 +240,14 @@ def load_config():
superusers = arguments.get('!superusers', None)
arguments['!users'] = User.parse_arguments(users, superusers)
+ if arguments.get('disk_encryption', None) is not None and arguments.get('disk_layouts', None) is not None:
+ password = arguments.get('encryption_password', '')
+ arguments['disk_encryption'] = DiskEncryption.parse_arg(
+ arguments['disk_layouts'],
+ arguments['disk_encryption'],
+ password
+ )
+
def post_process_arguments(arguments):
storage['arguments'] = arguments