Skip to content

Latest commit

 

History

History
32 lines (26 loc) · 1.09 KB

proc_adding-hosts-to-a-host-collection-in-bulk.adoc

File metadata and controls

32 lines (26 loc) · 1.09 KB

Adding Hosts to a Host Collection in Bulk

You can add multiple hosts to a host collection.

Prerequisites

A host must be registered to {ProjectName} to add it to a host collection.

Note that if you add a host to a host collection, the {Project} auditing system does not log the change.

Procedure
  1. In the {ProjectWebUI}, navigate to Hosts > Host Collections.

  2. Select the host collection where the host should be added.

  3. On the Hosts tab, select the Add subtab.

  4. Select the hosts to be added from the table and click Add Selected.

CLI procedure
  • To add multiple hosts to a host collection, enter the following command:

    # hammer host-collection add-host \
    --host-ids My_Host_ID_1,My_Host_ID_2 \
    --id My_Host_Collection_ID