How to load manifest in Satellite 6 via Command Line?

How to load manifest in Satellite 6 via Command Line?

1.- Connect to your Satellite 6 server via ssh # ssh root@satellite.example.com

 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.

Comments

Popular posts from this blog

How to clean all the foreman task and locked task

CentOS 7 Server Hardening Guide

How to restrict users to send only mail to the local domain in Zimbra