This is an automated email from the ASF dual-hosted git repository. bryan pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/cloudstack.git
The following commit(s) were added to refs/heads/main by this push: new 39e0a8e8d43 Change Cryptsetup validation (#8482) 39e0a8e8d43 is described below commit 39e0a8e8d431301b930757bc66b623da06b91658 Author: Lucas Martins <56271185+lucas-a-mart...@users.noreply.github.com> AuthorDate: Wed Jan 31 10:23:53 2024 -0300 Change Cryptsetup validation (#8482) Co-authored-by: lucas.martins.scclouds <lucas.mart...@scclouds.com.br> --- .../main/java/org/apache/cloudstack/utils/cryptsetup/CryptSetup.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/hypervisors/kvm/src/main/java/org/apache/cloudstack/utils/cryptsetup/CryptSetup.java b/plugins/hypervisors/kvm/src/main/java/org/apache/cloudstack/utils/cryptsetup/CryptSetup.java index 82c4ebe6d8f..bcdb9acb7b6 100644 --- a/plugins/hypervisors/kvm/src/main/java/org/apache/cloudstack/utils/cryptsetup/CryptSetup.java +++ b/plugins/hypervisors/kvm/src/main/java/org/apache/cloudstack/utils/cryptsetup/CryptSetup.java @@ -108,7 +108,7 @@ public class CryptSetup { public boolean isSupported() { final Script script = new Script(commandPath); - script.add("--usage"); + script.add("--version"); final String result = script.execute(); return result == null; }