Uploaded image for project: 'Product Technical Learning'
  1. Product Technical Learning
  2. PTL-7503

RH403-281: Lab commands are not working

XMLWordPrintable

    • 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'.

              glsbugs-hybridcloud@redhat.com PTL - RHEL Team
              deepasin@redhat.com deepak singh (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: