List all available packages for host in Red Hat Satellite using hammer
Environment
- Red Hat Satellite 6
Issue
- How to list all the available packages using the
hammercommand onRed Hat Satellite 6?
Resolution
-
Run the below command on
Red Hat Satellite 6to get theIDof the host.# hammer host list -
Run the below command on
Red Hat Satellite 6to list all availablepackagesfor the host.# hammer host package list --host-id <HOST-ID>
For more KB articles/solutions related to Red Hat Satellite 6.x hammer Issues, please refer to the Consolidated Troubleshooting Article for Red Hat Satellite 6.x hammer-related Issues
SBR
Product(s)
Category
Tags
This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.