Skip to content

erase-hard-disk-set

Erases any data on the specified hard disks that might confuse the OS install process. This includes LVM metadata, partition tables, software RAID signatures, and the first and last megabytes of any partitions and disks.

Usage Parameters: - erase-hard-disk-set: Space-separated list of device paths to erase. Supports standard device names (e.g. "/dev/sda /dev/sdb") as well as symlinks like /dev/disk/by-path/, /dev/disk/by-id/, etc. - zero-hard-disks-for-os-install: If set to true, performs secure erasure (sanitize, crypto erase, full zero-fill). If false, uses fast routines (blkdiscard, zero first/last 2MB).

Use this task to erase an explicit set of devices.

Objects that Reference erase-hard-disk-set

Objects used by erase-hard-disk-set