Add processing_hooks support in devstack
Allow ironic-inspector devstack to specify processing_hooks in configuration, so as to be able to support non-default hooks such as 'extra_hardware'. Change-Id: I16c50d45eab2415854105117641bc7d9aca4dd22
This commit is contained in:
parent
366074bb6d
commit
e0f659dc34
@ -276,6 +276,10 @@ function configure_inspector {
|
||||
inspector_iniset iptables dnsmasq_interface $IRONIC_INSPECTOR_INTERFACE
|
||||
inspector_iniset database connection `database_connection_url ironic_inspector`
|
||||
|
||||
if [[ -n "$IRONIC_INSPECTOR_PROCESSING_HOOKS" ]]; then
|
||||
inspector_iniset processing processing_hooks "\$default_processing_hooks,$IRONIC_INSPECTOR_PROCESSING_HOOKS"
|
||||
fi
|
||||
|
||||
inspector_iniset processing power_off $IRONIC_INSPECTOR_POWER_OFF
|
||||
|
||||
iniset_rpc_backend ironic-inspector $IRONIC_INSPECTOR_CONF_FILE
|
||||
|
Loading…
x
Reference in New Issue
Block a user