Allow configuration of automated cleaning

This commit is contained in:
Gabriel Adrian Samfira 2020-09-18 20:03:17 +00:00
parent c8e3d3c94b
commit 9e5d61b70e
3 changed files with 14 additions and 1 deletions

View File

@ -100,4 +100,13 @@ options:
the ironic python agent (IPA) from within the deployment image. See the IPA
documentation for a list of command line parameters which can be passed via
pxe_append_params.
automated-cleaning:
default: true
type: boolean
description: |
Enables automated cleaning of nodes. This is run when setting a node to available
state, or when deleting an instance. Cleaning will bring the node in a baseline
state. You can safely disable this feature if all tenants of your OpenStack deployment
are trusted, or if you have a single tenant.
Note: node cleaning may take a long time, especially if secure erase is enabled.

View File

@ -0,0 +1,2 @@
[conductor]
automated_clean = {{ options.automated_cleaning }}

View File

@ -61,3 +61,5 @@ swift_temp_url_key = secret
{% include "parts/section-pxe" %}
{% include "parts/section-deploy" %}
{% include "parts/section-conductor" %}