How to load manifest in Satellite 6 or Katello via Command Line?

in foreman •  7 years ago 

1.- Connect to your Satellite 6 server via ssh # ssh [email protected]

2.- Execute the hammer cli

hammer --username "username of satellite admin account" --password "password" shell

3.- Obtain List of Organizations

#hammer organization list

ID NAME LABEL DESCRIPTION
1 Default_Organization Default_Organization Default_Organization Organization

4.- Upload manifest to Satellite 6

Generate a new manifest with the self-service Satellite Certificate generation tool and upload the manifest file to you Satellite 6.0

5.- Now execute the following command to activate your manifest to Satellite 6.0 server

#hammer>subscription upload --file /root/manifest.zip --organization-id 1

Where:
file: is the location of you manifest.
organization-id: The id of the organization you want to upload the manifest.

Authors get paid when people like you upvote their post.
If you enjoyed what you read here, create your account today and start earning FREE STEEM!