Skip to content

Commit

Permalink
[block] Enhance LUKS capture in block plugin
Browse files Browse the repository at this point in the history
Capture a list of clevis bindings from LUKS encrypted
block devices.

Related: RHEL-57102

Signed-off-by: David Wolstromer <[email protected]>
  • Loading branch information
dwolstroRH authored and arif-ali committed Sep 15, 2024
1 parent a48c0eb commit 5177384
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions sos/report/plugins/block.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,5 +67,6 @@ def setup(self):
if 'crypto_LUKS' in line:
dev = line.split()[0]
self.add_cmd_output(f'cryptsetup luksDump /dev/{dev}')
self.add_cmd_output(f'clevis luks list -d /dev/{dev}')

# vim: set et ts=4 sw=4 :

0 comments on commit 5177384

Please sign in to comment.