Actions
Feature #29820
openAdd ability to have a "hook" that is dedicated to defining new parameters to the installer
Status:
New
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Description
Today, we use the boot hook to create new parameters to the installer. Given that creating a new parameter and then executing some chunk of code based on that parameters value is a first class citizen of the installer, could we build support into Kafo for this?
For example:
https://github.com/theforeman/foreman-installer/blob/develop/katello/hooks/boot/11-clear_pulp_data_hook.rb defines the option for clearing pulp data
https://github.com/theforeman/foreman-installer/blob/develop/katello/hooks/pre/11-clear_pulp_data_feature.rb defines the action to take if that option is set
One benefit of this could be finding a way to build in :noop support directly instead of having to remember to check for it.
Actions