From 55eb8449d4aa5bc532fef71849369b530b0e20b9 Mon Sep 17 00:00:00 2001 From: Vojtech Trefny Date: Thu, 15 Aug 2024 16:56:59 +0200 Subject: [PATCH] Fix getting LUKS subsystem for existing LUKS formats Accidentally removed in 319e6a6ede8f9468f56458ed8d14110536cf88d8 --- blivet/populator/helpers/luks.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/blivet/populator/helpers/luks.py b/blivet/populator/helpers/luks.py index 4de15ec57..8ece19979 100644 --- a/blivet/populator/helpers/luks.py +++ b/blivet/populator/helpers/luks.py @@ -139,6 +139,8 @@ def _get_kwargs(self): elif info.hw_encryption == blockdev.CryptoLUKSHWEncryptionType.OPAL_HW_ONLY: kwargs["luks_version"] = "luks2-hw-opal-only" + kwargs["subsystem"] = info.subsystem + return kwargs def run(self):