In a host list generated by adding a filter, I can tick a number of hosts in the leftmost column and then choose “Edit Parameter” from the “Select Action” dropdown. In the resulting dialog, I can only edit parameters that have been set previously for all selected hosts since those are the only fields that show up in the list.
How can I mass-add a parameter to a list of hosts that has previously been unset (or inherited from the host group) on certain/all hosts in a selection list?
This maybe better to set from the api or hammer-cli as a loop (Atleast that would be my approach). Export the list of hosts you want to use and write a small while loop using the list above to set the parameter you want.
If “small number” is still too large for doing by hand, perhaps mass moving them into a sub-hostgroup would work? You could set the parameter at the hostgroup level, and set pretty much everything else to “Inherit from Parent”.
Thanks for all the replies that suggested using hostgroups. That was not my question.
The reason for that not being my question is that the host groups structure in the given setup is used for something different and is used inside puppet code. it can therefore not be changed easily.