summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2022-01-01 10:42:53 +0200
committerLars Wirzenius <liw@liw.fi>2022-01-01 10:42:53 +0200
commit2ff98ec2d48fe9f842ebf379945a95fe2017d2b4 (patch)
tree3997c9c8e253927ac4ed9726b18eed6cdb401fb6
parent18572583219acbcb78a95a7ddb0878206abdd590 (diff)
downloadvmdb2-2ff98ec2d48fe9f842ebf379945a95fe2017d2b4.tar.gz
fix command name
Sponsored-by: author
-rw-r--r--vmdb/plugins/cryptsetup_plugin.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/vmdb/plugins/cryptsetup_plugin.py b/vmdb/plugins/cryptsetup_plugin.py
index 12d5c22..88715a5 100644
--- a/vmdb/plugins/cryptsetup_plugin.py
+++ b/vmdb/plugins/cryptsetup_plugin.py
@@ -42,5 +42,5 @@ class CryptsetupStepRunner(vmdb.StepRunnerInterface):
key = os.path.join(tmp, "key")
with open(key, "w") as f:
f.write(password)
- vmdb.runcmd(["cleartext", "luksFormat", device, key])
+ vmdb.runcmd(["cryptsetup", "luksFormat", device, key])
shutil.rmtree(tmp)