revert last commit

This commit is contained in:
Tobias Powalowski 2023-08-12 15:18:11 +02:00
parent 77790fc7d0
commit 57f521cf79

View file

@ -288,7 +288,7 @@ _clean_disk() {
# clear all magic strings/signatures - mdadm, lvm, partition tables etc
wipefs -a -f "${1}" &>"${_NO_LOG}"
# really clear everything MBR/GPT at the beginning of the device!
dd if=/dev/zero of=${1} bs=1M count=20 &>"${_NO_LOG}"
dd if=/dev/zero of=${1} bs=1M count=10 &>"${_NO_LOG}"
partprobe "${1}" &>"${_NO_LOG}"
}