diff options
author | Dmitry Tantsur <divius.inside@gmail.com> | 2016-09-01 15:17:33 +0200 |
---|---|---|
committer | Dmitry Tantsur <divius.inside@gmail.com> | 2016-09-02 12:05:01 +0200 |
commit | e2d5bbc41e3e7ab4952dab55094c88933d4b7143 (patch) | |
tree | 553dda49f4db67cd4c617a29447a77aae88173da /firstboot | |
parent | c5a609eeefee26ad06c359f4d1aa75c8fdba8205 (diff) |
Ironic: configure disk erasing during cleaning
Cleaning is run before the first and between every deployments to ensure
that the node is in a clean state (hence its name). The most important
part of it is wiping the hard drive.
This change allows tuning this action. A new option IronicCleaningDiskErase
accepts the following options:
* full - for full cleaning with removing the data via ATA secure erase or shred
* metadata - for cleaning only partitioning table.
The third option "none" is suppored by Puppet but is not advertised here as
disabling disk wiping completely is known to cause bugs.
Note that the upstream Ironic default is a bit unfortunate: it enabled both
processes. We set the default to "full" which has the same effect, but is faster.
Change-Id: I46632f71f7ab63daac243acefa5166c58ca05da0
Partially-Implements: blueprint ironic-integration
Diffstat (limited to 'firstboot')
0 files changed, 0 insertions, 0 deletions