Reseting the root password on a libvirt host

In case network is lost for some reason:

virt-sysprep --no-network --enable customize --root-password password:**** -a /var/lib/libvirt/images/enough/lan.example.com/some-host.qcow2

and then

virsh console some-host

will allow to login as root.