ceph-disk-delete: remove unsupported flags on alpine

This commit is contained in:
Nico Schottelius 2021-10-18 14:29:05 +02:00
commit 728fb0b9f7

View file

@ -15,7 +15,7 @@ DISK="$1"; shift
sgdisk --zap-all $DISK
# Clean hdds with dd
dd if=/dev/zero of="$DISK" bs=1M count=100 oflag=direct,dsync
dd if=/dev/zero of="$DISK" bs=1M count=100
# Clean disks such as ssd with blkdiscard instead of dd
blkdiscard $DISK