Red Hat Training

A Red Hat training course is available for Red Hat Satellite

Capítulo 14. Referencia de la línea de comandos

14.1. Uso de la interfaz de línea de comandos Red Hat Satellite

Nota

El uso de la interfaz de línea de comandos (CLI) es opcional.
hammer es la herramienta de administración CLI para la funcionalidad Red Hat Satellite. Puede:
  • Aprovisionar hosts.
  • Modificar los atributos de un recurso o grupo.
  • Interactuar y manipular hosts, cápsulas y dominios.
hammer puede ser ejecutado en la línea de comandos a través de sus parámetros y opciones o a través de shell interactiva. Para llamarla:
[root@sat.example.com ~]# hammer shell
Welcome to the hammer interactive shell
Type 'help' for usage information
Command completion is disabled on ruby < 1.9 due to compatibility problems.
hammer> organization list
---|------------------|------------------|------------------------------
ID | NAME             | LABEL            | DESCRIPTION                  
---|------------------|------------------|------------------------------
1  | ACME_Corporation | ACME_Corporation | ACME_Corporation Organization
3  | Test Corp        | Test_Corp        |                              
---|------------------|------------------|------------------------------
hammer>

La lista completa de opciones y subcomandos está disponible en helpfile:
# hammer -h
22921%2C+User+Guide-6.008-10-2014+13%3A34%3A52Red+Hat+Satellite+6Docs+User+GuideReportar un error