-
Bug
-
Resolution: Done
-
Minor
-
RH403 - RHS6.11-en-2-20221111
-
ROLE
-
en-US (English)
URL: https://role.rhu.redhat.com/rol-rhu/app/courses/rh403-6.11/pages/ch03s03
Reporter RHNID: gformisa
Section: clients-collections-lecture - Manage Hosts with Host Collections
Language: en-US (English)
Workaround:
Description: Description: Hi team please check this command
hammer host-collection add-host --name MyHostCollection --host MyHost --organization MyOrganization
The correct parameter is --hosts, in plural:
hammer host-collection add-host --name MyHostCollection --hosts MyHost --organization MyOrganization
If I execute the command show in doc. i receive: # hammer host-collection add-host -name MyHostCollection --host gformisa-host-rhel8.example.com --organization Finance Could not add host(s): Error: Unrecognised option '-host'.