From 43f1a6893629d629d5a6a6a3e59b3a1b56c4efa0 Mon Sep 17 00:00:00 2001 From: Andreas Zweili Date: Mon, 20 Dec 2021 15:56:33 +0100 Subject: [PATCH] add missing comma --- scripts/format-disk.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/format-disk.py b/scripts/format-disk.py index 1b48326..f2306b1 100644 --- a/scripts/format-disk.py +++ b/scripts/format-disk.py @@ -103,7 +103,7 @@ def _create_swap(): def _encrypt_disk(partition_path, container_name): password = getpass.getpass() print("Encrypting disk.") - _run_command(["cryptsetup", "luksFormat", "-q" + _run_command(["cryptsetup", "luksFormat", "-q", "--type", "luks1", partition_path], input=password) _run_command(["cryptsetup", "open", partition_path, "cryptlvm"], input=password)