ceph-disk-delete: remove unsupported flags on alpine
This commit is contained in:
parent
a7ae4001ed
commit
728fb0b9f7
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue