csmart / ansible-role-virt-infra

Define and manage guests and networks on a KVM host with Ansible
GNU General Public License v3.0
67 stars 48 forks source link

Fix using libvirt >= v7.7.0 #60

Closed Logima closed 2 years ago

Logima commented 2 years ago

Remove on_poweroff=preserve as it has been forbidden in libvirt v7.7.0.

csmart commented 2 years ago

Thanks!

From https://libvirt.org/news.html#v7-7-0-2021-09-01

preserve action was forbidden Similarly to the previous case this never worked as the intended semantics of the actions dictate. It's better to not allow it at all until there's a proper implementation

-c