From 2ff98ec2d48fe9f842ebf379945a95fe2017d2b4 Mon Sep 17 00:00:00 2001 From: Lars Wirzenius Date: Sat, 1 Jan 2022 10:42:53 +0200 Subject: fix command name Sponsored-by: author --- vmdb/plugins/cryptsetup_plugin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- cgit v1.2.1