> I can think of many way to implement it, another way will be to create a 
> custom discovery image (hack it in some way) but wonders if i am missing 
> anything before i go this route

You can indeed create a foreman discovery image extension. Perhaps hack
the "poweroff" command which is called from foreman-proxy running inside
the image.

https://theforeman.org/plugins/foreman_discovery/5.0/index.html#5.Extendingtheimage

But why don't you simply use PXE-less discovery mode? Just boot the
server from the discovery ISO (attach it via your IPMI) and it will then
start provisioning without rebooting the system (via kexec).

https://theforeman.org/plugins/foreman_discovery/5.0/index.html#5.3PXE-lessdiscovery

-- 
Later,
 Lukas #lzap Zapletal

-- 
You received this message because you are subscribed to the Google Groups 
"Foreman users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/foreman-users.
For more options, visit https://groups.google.com/d/optout.

Reply via email to