How to upload manifest for Red Hat Satellite 6 with Hammer CLI?

Solution Verified - Updated

Environment

  • Red Hat Satellite 6.x

Issue

  • Need to upload Manifest for multiple organizations on Red Hat Satellite 6 .
  • How to upload Manifest on Red Hat Satellite 6 with hammer CLI?

Resolution

  • Execute the following command on Satellite to upload a manifest using hammer:

    # hammer -u <USER> -p <PASSWORD> subscription upload --file manifest.zip --organization-id <ORGANIZATION_ID>
    
  • Use the following command to find the organization-id.

    # hammer -u <USER> -p <PASSWORD> organization list
    
SBR
Product(s)
Components
Category

This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.