My servers primary boot device is not PXE, if i provision a server with the discovery plugin (I do restart the server into PXE mode using IPMI, not from Foreman), then when i Provision the server through the Discovery plugin, The server reboots as expected but it doesn't go into PXE, Is there a way to create a hook that before rebooting the server it will set the chassis bootdevice to PXE?
One other option i was thinking about which i don't like is to create an external script: 1) Provision hosts that were discovered but don't reboot 2) Call the API (BMC Smart-Proxy) on the Discovered Hosts to set the bootdevice to PXE 3) Reboot the hosts 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 Thanks! -- 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.
