From 0dd3df4331fb2faf9ef65df8a32d901272f9980e Mon Sep 17 00:00:00 2001 From: Andreas Zweili Date: Sun, 19 Dec 2021 20:12:52 +0100 Subject: [PATCH] run cryptsetup in batch mode --- 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 8f1579c..f7b5ac5 100644 --- a/scripts/format-disk.py +++ b/scripts/format-disk.py @@ -87,7 +87,7 @@ def _create_swap_partition(disk): def _encrypt_disk(partition_path, container_name): print("Encrypting disk.") - _run_command(["cryptsetup", "luksFormat", + _run_command(["cryptsetup", "luksFormat", "-q" "--type", "luks1", partition_path]) _run_command(["cryptsetup", "open", partition_path, "cryptlvm"])