Extract a list of virtual guests and corresponding "Virtual Host" (Hypervisor)

Latest response

I have a list of virtual content hosts and I need to produce a list of their corresponding hypervisors. I have been trying to leverage hammer to no effect. I would imagine this could be produced by using,

hammer fact list --search

or

hammer host list --search

but I have yet to find the proper "fact" or field to search for. One can see the desired information on the Satellite UI, under the details for each host, listed as "Virtual Host", when the content host in question is a VM and is identified as a guest on a hypervisor.
Any insights? I am running Satellite 6.2.14.
Thanks.

Responses