Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorDaniel Girtler <blackrabbit256@gmail.com>2023-06-21 17:54:42 +1000
committerGitHub <noreply@github.com>2023-06-21 09:54:42 +0200
commit885f89c3a15ef9d5ed8711cdb270ed5aea189705 (patch)
treec33bf97ac4b62b1513699ebeba4e750d29fbe32b /examples
parent4eae8f656f072c2f71e8825519f3eed800e9db37 (diff)
Rename encryption method (#1888)
* Rename encryption method * Update --------- Co-authored-by: Daniel Girtler <girtler.daniel@gmail.com>
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
)