qemu-ga: fixes disabled-rpcs broke service start

Applies renamed CLI arg `blacklist` > `block-rpcs`.
See: https://bugzilla.redhat.com/show_bug.cgi?id=2156515
This commit is contained in:
jkellerer 2024-10-10 12:07:23 +02:00 committed by GitHub
parent f25a1fa6d5
commit 5a5d2dad3a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -6,7 +6,7 @@
{% do optional_flags.append('-v') %}
{% endif %}
{% if helpers.exists('OPNsense.QemuGuestAgent.general.DisabledRPCs') and not helpers.empty('OPNsense.QemuGuestAgent.general.DisabledRPCs') %}
{% do optional_flags.append('--blacklist=' ~ OPNsense.QemuGuestAgent.general.DisabledRPCs) %}
{% do optional_flags.append('--block-rpcs=' ~ OPNsense.QemuGuestAgent.general.DisabledRPCs) %}
{% endif %}
qemu_guest_agent_setup="/usr/local/opnsense/scripts/OPNsense/QemuGuestAgent/setup.sh"
qemu_guest_agent_enable="YES"