diff --git a/playbooks/roles/bifrost-ironic-install/templates/ironic-inspector.conf.j2 b/playbooks/roles/bifrost-ironic-install/templates/ironic-inspector.conf.j2 index 2fb0ce437..aa75ee2c1 100644 --- a/playbooks/roles/bifrost-ironic-install/templates/ironic-inspector.conf.j2 +++ b/playbooks/roles/bifrost-ironic-install/templates/ironic-inspector.conf.j2 @@ -83,9 +83,10 @@ always_store_ramdisk_logs = {{ inspector_store_ramdisk_logs | default('true') | processing_hooks = {{ inspector_processing_hooks }} {% endif %} store_data = database +power_off = {{ power_off_after_inspection }} + {% if inspector.discovery.enabled == true %} node_not_found_hook = enroll -power_off = {{ power_off_after_inspection }} [discovery] enroll_node_driver = {{ inspector.discovery.default_node_driver }} diff --git a/releasenotes/notes/inspect-fast-track-36007cc32bdf7e5c.yaml b/releasenotes/notes/inspect-fast-track-36007cc32bdf7e5c.yaml new file mode 100644 index 000000000..420493f44 --- /dev/null +++ b/releasenotes/notes/inspect-fast-track-36007cc32bdf7e5c.yaml @@ -0,0 +1,5 @@ +--- +fixes: + - | + Fixes fast-track after inspection: the ``fast_track`` and + ``power_off_after_inspection`` options are now correctly handled.