Vzctl

openvz_containers

host.fact.openvz_containers

Returns a dict of running OpenVZ containers by CTID:

{
    666: {
        'ip': [],
        'ostemplate': 'ubuntu...',
        ...
    },
    ...
}