[foreman-users] Re: use PXE http GET parameter in provision template?

2017-06-27 Thread AdamW
Foreman code, so if anyone knows of a better way to achieve what i want I would be very grateful! //Adam On Wednesday, June 28, 2017 at 7:48:04 AM UTC+2, AdamW wrote: > > Hello list, > > I want to have a machine boot into a pxe menu with two menu options: > "clean insta

[foreman-users] use PXE http GET parameter in provision template?

2017-06-27 Thread AdamW
Hello list, I want to have a machine boot into a pxe menu with two menu options: "clean install" and "reinstall". The main difference between these are that they use different partition schemes in my kickstart configuration. I've been trying to come up with a solution as to how I can build a p

[foreman-users] foreman_hooks: different json output on create and destroy

2017-05-23 Thread AdamW
Running 1.15 with foreman_hooks, and the json output to my hooks is different between a 'create' and 'destroy' event. In the 'destroy' event I am missing host parameters from the json output, but I can't find the reason for this in the code. Anybody here know why this is? (I want to force us

[foreman-users] custom hostname suggestion

2017-05-05 Thread AdamW
Hello, We, as many other shops, have a server naming standard including a numbering scheme. Is there any somewhat simple way to get Foreman to call an external script on host creation to retrieve the next available server name and populate the hostname field in the 'new host' form with this?