deactivate confirm

This commit is contained in:
Cayo Puigdefabregas 2024-10-18 13:05:44 +02:00
parent 731567b8ea
commit efe028aea1
1 changed files with 3 additions and 2 deletions

View File

@ -78,8 +78,9 @@ SNAPSHOT_BASE = {
@logs @logs
def gen_erase(type_erase, user_disk=None): def gen_erase(type_erase, user_disk=None):
if user_disk: if user_disk:
return exec_cmd(f"sanitize -d {user_disk} -m {type_erase} --confirm") return exec_cmd(f"sanitize -d {user_disk} -m {type_erase}")
return exec_cmd(f"sanitize -a -m {type_erase} --confirm") return exec_cmd(f"sanitize -a -m {type_erase}")
# return exec_cmd(f"sanitize -a -m {type_erase} --confirm")
@logs @logs