Satellite 6: `hammer host create` doesnt work with `--hostgroup-title`
Issue
- When using nested hostgroups and duplicate hostgroup names
hammer
command fails because the "hostgroup" is not unique. But tying with parameter--hostgroup-title
(which is unique) fails as well - Why does
hammer host create
not work with parameter--hostgroup-title
--hostgroup-title
seems 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, tools, and much more.