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¶
- stages eikon-image-deploy in Eikon Image Deploy as part of Tasks (declared)
- stages image-deploy in Image Deploy as part of Tasks (declared)
- stages write-sledgehammer-to-disk in Community Core as part of Tasks (declared)
- stages prep-install in Community Core as part of Tasks (declared)
Objects used by erase-hard-disks-for-os-install¶
- templates prelude.tmpl
- params operating-system-disk
- params erase-data-disks-skip
- params zero-hard-disks-for-os-install