Actions
Feature #22440
openInherit organization and location from hostgroup when hostgroup is only in one loc/org
Status:
New
Priority:
Normal
Assignee:
-
Category:
Organizations and Locations
Target version:
-
Description
Description of problem:
On provisioning a host with a hostgroup, hammer insists that location and organization must be specified. This can be expected if hostgroup is in multiple organizations, but if hostgroup is associated with only one location and organization, we expect these to be inherited by host automatically.
Steps to Reproduce:
hammer host create \
--name "utumcg0005" \
--comment "RHEL7 Proefkonijn" \
--hostgroup "$HOSTGROUP" \
--mac 00:50:56:8e:07:79 \
--model "VMware Virtual Platform" \
As taxonomies are not inherited in the same fashion as other attributes, this will likely require changes in both API and hammer.
No data to display
Actions