Skip to content

fix: Add cryptsetup and modprobe dm-crypt to OS mount tool classes - #481

Merged
Dany9966 merged 1 commit into
cloudbase:masterfrom
claudiubelu:update-luks-cryptsetup
Aug 3, 2026
Merged

fix: Add cryptsetup and modprobe dm-crypt to OS mount tool classes#481
Dany9966 merged 1 commit into
cloudbase:masterfrom
claudiubelu:update-luks-cryptsetup

Conversation

@claudiubelu

Copy link
Copy Markdown
Member

cryptsetup is required to detect whether a device is LUKS-encrypted or not. It is now installed on the OS morphing minion.

Now that cryptsetup is present in the OS morphing minion, the SSHCommandNotFoundException exception case is redundant. Additionally refines the exception case instead: we only return False if the command returns the exit code 1, and raise in any other case.

cryptsetup is required to detect whether a device is LUKS-encrypted or
not. It is now installed on the OS morphing minion.

Now that cryptsetup is present in the OS morphing minion, the
SSHCommandNotFoundException exception case is redundant. Additionally
refines the exception case instead: we only return False if the command
returns the exit code 1, and raise in any other case.
@claudiubelu
claudiubelu force-pushed the update-luks-cryptsetup branch from dafd6d9 to 9683e3e Compare July 31, 2026 15:18
@Dany9966
Dany9966 merged commit d262759 into cloudbase:master Aug 3, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants