The contents of the script /usr/bin/discovery-script in the discovery image suggest that somehow we could set the variable KCL_FDI_SCRIPT with the content of a custom script. Is there a way to inject a custom script that is executed before kexec is launched? I don’t find documentation about this anywhere.
I’m using fdi v3.5.7.
Answering my own question, the fdi.script kernel option does that.
Thanks for returning with the solution. This helps other community members troubleshoot similar issues. Glad you were able to solve this yourself.
For future reference, there are some documentation resources on provisioning and discovery here: