From 3c0b94bb55bee986da178c1dec15d7284a8b7dde Mon Sep 17 00:00:00 2001 From: Andreas Zweili Date: Mon, 20 Dec 2021 15:42:58 +0100 Subject: [PATCH] first try for a parted fix --- 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 213014c..9e451e2 100644 --- a/scripts/format-disk.py +++ b/scripts/format-disk.py @@ -58,7 +58,7 @@ def get_disk_to_format(): def create_partition_table(disk): print("Create partition table.") - _run_command(["parted", disk, "--", "mklabel", "gpt"]) + _run_command(["parted", "--script", disk, "mklabel", "gpt"]) def _partition_suffix(disk):