Red Hat 6.2 Hammer CLI Satellite CLI Guide

Red Hat Satellite 6.2 Hammer CLI is a powerful command-line tool that allows you to configure and manage a Red Hat Satellite Server. You can use Hammer to issue commands through the CLI or to automate tasks in shell scripts. Hammer’s interactive shell allows you to test commands before using them in a script. It also generates formatted output that can be used by other tools and applications.

PDF
Document
Red Hat Satellite 6.2 Hammer CLI Guide | Manualzz

Advertisement

Advertisement

/

Advertisement

Key features

  • CLI commands

  • automation in shell scripts

  • interactive shell

  • standalone use

  • default organization

  • configuration

  • logging

  • formatted output

  • troubleshooting

  • managing organizations

Frequently asked questions

To enable a Red Hat repository, you need to know its name, the name of the product it provides, the base architecture, and the release version. Use the following command to enable a repository: hammer repository-set enable --organization-label <org_label> --product "<product_name>" --basearch "<base_architecture>" --releasever "<release_version>" --name "<repository_name>"

To create a new life cycle environment, use the following command: hammer lifecycle-environment create --name <env_name> --description "<env_description>" --organization-label <org_label> --prior <prior_env_name>

To promote a Content View from one life cycle environment to another, issue the following command: hammer content-view version promote --content-view <cv_name> --organization-label <org_label> --to-lifecycle-environment <env_name>

There are three possible use cases for activation keys. Use the following commands: hammer activation-key create --organization-label <org_label> --name <activation_key_name> --description "<activation_key_description>" --pool <subscription_list>

Use the following command to create a Host Group: hammer host-group create --name <group_name> --organization-label <org_label>

Preparing document for printing…
0%