Merge pull request #1917 from dbungert/zfs-luks-keystore

types: rename ZFS_LUKS -> ZFS_LUKS_KEYSTORE
This commit is contained in:
Dan Bungert 2024-02-23 08:00:03 -07:00 committed by GitHub
commit 6fc7f46dd4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 6 additions and 6 deletions

View File

@ -347,7 +347,7 @@ class GuidedCapability(enum.Enum):
LVM = enum.auto()
LVM_LUKS = enum.auto()
ZFS = enum.auto()
ZFS_LUKS = enum.auto()
ZFS_LUKS_KEYSTORE = enum.auto()
CORE_BOOT_ENCRYPTED = enum.auto()
CORE_BOOT_UNENCRYPTED = enum.auto()
@ -384,7 +384,7 @@ class GuidedCapability(enum.Enum):
def is_zfs(self) -> bool:
return self in [
GuidedCapability.ZFS,
GuidedCapability.ZFS_LUKS,
GuidedCapability.ZFS_LUKS_KEYSTORE,
]

View File

@ -217,7 +217,7 @@ class VariationInfo:
GuidedCapability.LVM,
GuidedCapability.LVM_LUKS,
GuidedCapability.ZFS,
GuidedCapability.ZFS_LUKS,
GuidedCapability.ZFS_LUKS_KEYSTORE,
]
),
)

View File

@ -76,7 +76,7 @@ default_capabilities = [
GuidedCapability.LVM,
GuidedCapability.LVM_LUKS,
GuidedCapability.ZFS,
GuidedCapability.ZFS_LUKS,
GuidedCapability.ZFS_LUKS_KEYSTORE,
]
@ -590,7 +590,7 @@ class TestGuided(IsolatedAsyncioTestCase):
self.assertEqual("zfs", zfs_boot.type)
@parameterized.expand(boot_expectations)
async def test_guided_zfs_luks(self, bootloader, ptable, p1mnt):
async def test_guided_zfs_luks_keystore(self, bootloader, ptable, p1mnt):
await self._guided_setup(bootloader, ptable)
target = GuidedStorageTargetReformat(
disk_id=self.d1.id, allowed=default_capabilities
@ -598,7 +598,7 @@ class TestGuided(IsolatedAsyncioTestCase):
await self.controller.guided(
GuidedChoiceV2(
target=target,
capability=GuidedCapability.ZFS_LUKS,
capability=GuidedCapability.ZFS_LUKS_KEYSTORE,
password="passw0rd",
)
)