Actions
Bug #21189
openhammer host create inconsistencies: --hostgroup-id vs --hostgroup-title
Status:
New
Priority:
Normal
Assignee:
-
Category:
Host creation
Target version:
-
Description
our hostgroups have compute profiles, subnets & operating system details configured.
so basically all needed to create a host via command line is this:
hammer host create --hostgroup-id ${GROUP} --build true --name ${HOST} --compute-resource-id 1
when trying to switch to hostgroup-title like this:
hammer host create --hostgroup-title ${GROUP} --build true --name ${HOST} --compute-resource-id 1
hammer now complains with this:
Could not create the host:
Error: At least one of options --architecture, --architecture-id is required
See: 'hammer host create --help'
it seems like when switch to houstgroup-title, hammer or foreman is not able to figure out the OS details configured with the hostgroup
No data to display
Actions