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

in #foreman7 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.

Coin Marketplace

STEEM 0.17
TRX 0.24
JST 0.034
BTC 96428.85
ETH 2753.27
SBD 0.65