From efe028aea1494d74cd4d1b3dc511807ae80923e9 Mon Sep 17 00:00:00 2001 From: Cayo Puigdefabregas Date: Fri, 18 Oct 2024 13:05:44 +0200 Subject: [PATCH] deactivate confirm --- workbench-script.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/workbench-script.py b/workbench-script.py index 73d0fb8..1432de7 100644 --- a/workbench-script.py +++ b/workbench-script.py @@ -78,8 +78,9 @@ SNAPSHOT_BASE = { @logs def gen_erase(type_erase, user_disk=None): if user_disk: - return exec_cmd(f"sanitize -d {user_disk} -m {type_erase} --confirm") - return exec_cmd(f"sanitize -a -m {type_erase} --confirm") + return exec_cmd(f"sanitize -d {user_disk} -m {type_erase}") + return exec_cmd(f"sanitize -a -m {type_erase}") + # return exec_cmd(f"sanitize -a -m {type_erase} --confirm") @logs