Issues with defining hostgroup via hammer on Red Hat Satellite 6

Solution Verified - Updated -

Issue

  1. In hostgroup creation using hammer command utility, capsule is referred to as "content source" and the only way to specify it is through "content-source-id", rather than by either name or ID. Is it possible to address it by name?
  2. How to attach a activation-key with hostgroup when creating it using hammer command?
  3. The hammer hostgroup sc-params does not seem to work with options --hostgroup or --hostgroup-id:
#  hammer hostgroup sc-params --hostgroup "TestGroup"
missing param 'hostgroup_id' in parameters
# hammer hostgroup sc-params --hostgroup-id 7
missing param 'hostgroup_id' in parameters

Environment

  • Red Hat Satellite 6.1

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.