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/full_automated_installation.py2
-rw-r--r--examples/minimal_installation.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/examples/full_automated_installation.py b/examples/full_automated_installation.py
index dcef731a..79e85348 100644
--- a/examples/full_automated_installation.py
+++ b/examples/full_automated_installation.py
@@ -63,7 +63,7 @@ disk_config = disk.DiskLayoutConfiguration(
# disk encryption configuration (Optional)
disk_encryption = disk.DiskEncryption(
encryption_password="enc_password",
- encryption_type=disk.EncryptionType.Partition,
+ encryption_type=disk.EncryptionType.Luks,
partitions=[home_partition],
hsm_device=None
)
diff --git a/examples/minimal_installation.py b/examples/minimal_installation.py
index e31adea4..c91a5d46 100644
--- a/examples/minimal_installation.py
+++ b/examples/minimal_installation.py
@@ -66,7 +66,7 @@ def parse_disk_encryption():
partitions += list(filter(lambda x: x.mountpoint != Path('/boot'), mod.partitions))
archinstall.arguments['disk_encryption'] = disk.DiskEncryption(
- encryption_type=disk.EncryptionType.Partition,
+ encryption_type=disk.EncryptionType.Luks,
encryption_password=enc_password,
partitions=partitions
)