Automate Adding a Host to a Host Collection


I’m unable to find anything from the documentation or command manual to show how I can automate adding hosts to their intended host collection.

Expected outcome:

Hosts are added to a host collection during the registration process. Currently it is required that this be done manually for each machine as a manual post registration step.

Foreman and Proxy versions:


Foreman and Proxy plugin versions:

Katello version 4.6

Distribution and version:

Almalinux 8.7

Other relevant data:

If you use activation keys to register, you can add the host collection to the activation key.

1 Like