Closed mcaj closed 1 year ago
Hi,
I think this will be resolved with https://github.com/openSUSE/salt-formulas/pull/28. It allows libvirt.conf
, libvirtd.conf
and qemu.conf
to be configured using the libvirt
, libvirtd
and qemu
pillars - all options can be fed using the pillar, it does not limit which ones can be used.
I added a max_client
default, as I think it makes sense compared to the 5000 client default shipped with libvirt. The other settings I suggest setting using the pillar if needed, as the libvirt shipped defaults are reasonable. Most options should not be necessary anymore anyways (for example listen_tls
/listen_tcp
are sort of deprecated in favor of systemd sockets).
Let me know should you deem any other settings reasonable to be set in the formula defaults or whether the new pillar feature is good enough.
This has been implemented with #28, as discussed.
In the /libvirt-formula/libvirt/files/etc/libvirt you have only files
our cluster need to have there the file libvirtd.conf to enable life migration. I would be nice it this file will be a jinja template and data into it loaded from pillars need it options are:
in the file it more options but this once are let say a most need it one
https://github.com/openSUSE/salt-formulas/blob/6b1db92cfef817e9a15336184e2b52b2a48d55e0/libvirt-formula/libvirt/init.sls#L37