Feature #30440
Updated by Leos Stejskal over 4 years ago
See: https://community.theforeman.org/t/rfc-simple-automatic-host-registration-wf/19588
This RFC is part of an ongoing effort to simplify the registration process of the hosts into the Foreman. It’s not about provisioning new hosts from Foreman, but about registering already existing (running) hosts to Foreman and running user defined commands from the registration templates. That is especially useful in brown-field deployments, where people don’t provision the existing infrastructure from scratch, but want to start managing existing hosts by Foreman.
*Motivation & Goals*
Make the host registration simple and easy. We should allow users to register and set up hosts with one command.
*Ideal Use Case*
One command rule them all:
* User will call curl | bash command, for example something like this:
<pre>
curl --user admin:changeme https://foreman.com/templates/register-new-host | bash
</pre>
* Foreman will generate Global registration template with commands for host registration to Foreman
* After host creation Foreman will render the host-registration template with commands for host set up.
For more details please see https://community.theforeman.org/t/rfc-simple-automatic-host-registration-wf/19588 and