Skip to content

Commit 39e0a8e

Browse files
lucas-a-martinslucas.martins.scclouds
andauthored
Change Cryptsetup validation (#8482)
Co-authored-by: lucas.martins.scclouds <lucas.martins@scclouds.com.br>
1 parent fedcf66 commit 39e0a8e

File tree

1 file changed

+1
-1
lines changed
  • plugins/hypervisors/kvm/src/main/java/org/apache/cloudstack/utils/cryptsetup

1 file changed

+1
-1
lines changed

plugins/hypervisors/kvm/src/main/java/org/apache/cloudstack/utils/cryptsetup/CryptSetup.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ public void luksFormat(byte[] passphrase, LuksType luksType, String diskPath) th
108108

109109
public boolean isSupported() {
110110
final Script script = new Script(commandPath);
111-
script.add("--usage");
111+
script.add("--version");
112112
final String result = script.execute();
113113
return result == null;
114114
}

0 commit comments

Comments
 (0)