You can add a host to a host collection by using Hammer CLI.
Note that if you add a host to a host collection, the {Project} auditing system does not log the change.
Prerequisites
-
A host must be registered to {ProjectName} to add it to a Host Collection. For more information about registering hosts, see [Registering_Hosts_by_Using_Global_Registration_{context}].
Procedure
-
Add a host to your host collection:
$ hammer host-collection add-host \ --host-ids My_Host_ID \ --id My_Host_Collection_ID