Skip to main content

check_cryptsetup_available

Function check_cryptsetup_available 

Source
pub async fn check_cryptsetup_available() -> Result<String>
Expand description

Verify cryptsetup is on PATH. Provider should call this at startup if any template it serves has data_path: Some(_) and the operator has not opted out of consumer-encrypted volumes. Returns the version string so the operator can log what they got.