This repository contains a tool, that automatically scans libvirt networks for DHCP leases and generates a hostfile from the lease mappings.
$ libvirt-hosts [path-to-config]
An example configuration can be found in the config.yaml
in this repository.