Hi,
Foreman has successfully provisioned a host through PXE. And now I would like to automatically register that host as content host in Foreman right after the host is provisioned.
What is the best practice to do it?
Hi,
Foreman has successfully provisioned a host through PXE. And now I would like to automatically register that host as content host in Foreman right after the host is provisioned.
What is the best practice to do it?
Best practice is to use global registration to set up everything on the newly provisioned host.
In the docs I linked, there is also a link to the activation key documentation, which is the part that’s responsible for registering automatically to content views.
What OS is that? Generally, the kickstart template should automatically register the host with katello and use the activation key passed, unless you have configured it not to.