Satellite 6: `hammer host create` doesnt work with `--hostgroup-title`
Issue
- When using nested hostgroups and duplicate hostgroup names
hammercommand fails because the "hostgroup" is not unique. But tying with parameter--hostgroup-title(which is unique) fails as well - Why does
hammer host createnot work with parameter--hostgroup-title --hostgroup-titleseems to be an invalid option forhammer host create- Why do I get the following error when trying to create a new host with parameter
--hostgroup-title?
# hammer host create --hostgroup-title HG-test-nested/test2 --name test-server-nested --ip 172.24.105.186 --mac 11:12:13:14:15:16
Could not create the host:
Error: Options --environment-id, --architecture-id, --domain-id, --puppet-proxy-id, --operatingsystem-id, --partition-table-id are required
See: 'hammer host create --help'
#
Environment
- Satellite 6.2
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
