Skip to content

erase-hard-disks-for-os-install

Erases any data on the 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: - 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). - erase-data-disks-skip: If set to true, only the OS disk (specified by operating-system-disk) is erased and all other disks are skipped. If false, all disks are erased. If data drives are to always be erased then this parameter will need to be set to false in a profile that overrides the machine paramters. Otherwise it can be set for one time erasure on the machine before running the task.

Use this task to erase just the operating-system-disk or all disks.

Objects that Reference erase-hard-disks-for-os-install

Objects used by erase-hard-disks-for-os-install