Skip to content

Commit

Permalink
Fix getting LUKS subsystem for existing LUKS formats
Browse files Browse the repository at this point in the history
Accidentally removed in 319e6a6
  • Loading branch information
vojtechtrefny committed Aug 15, 2024
1 parent 2f3e69d commit 55eb844
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions blivet/populator/helpers/luks.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down

0 comments on commit 55eb844

Please sign in to comment.