We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0d7ee53 commit 9312364Copy full SHA for 9312364
1 file changed
archinstall/lib/models/device.py
@@ -1400,11 +1400,11 @@ def json(self) -> _DeviceModificationSerialization:
1400
}
1401
1402
1403
-class EncryptionType(Enum):
1404
- NO_ENCRYPTION = 'no_encryption'
1405
- LUKS = 'luks'
1406
- LVM_ON_LUKS = 'lvm_on_luks'
1407
- LUKS_ON_LVM = 'luks_on_lvm'
+class EncryptionType(StrEnum):
+ NO_ENCRYPTION = auto()
+ LUKS = auto()
+ LVM_ON_LUKS = auto()
+ LUKS_ON_LVM = auto()
1408
1409
@classmethod
1410
def _encryption_type_mapper(cls) -> dict[str, Self]:
0 commit comments