Select certain fields for output
The --include field is not very clear; I intended to use it as follows:
host list --hostgroup "foo" --include "Owner"
I expected that to generate a list of hosts in the hostgroup "foo" and add an extra field for "Owner", alongside ID, Name, Operating System, Host Group, IP, MAC, Content View, and Lifecycle Environment.
We require the ability to generate reports of the data in Foreman; e.g., HW info, Owner, IP, OS for audit reasons.
Updated by Tomáš Strachota over 6 years ago
- Category set to Hammer core
- Status changed from New to Duplicate
Thanks for reporting the issue. The same feature has been requested in http://projects.theforeman.org/issues/19135 Please comment there if you have some additional input. I'm closing this one as duplicate.
At the moment the --include parameter in host list has no effect and it should be removed until we implement the correct way of limiting/extending output.
I reported the issue here: http://projects.theforeman.org/issues/20754