Merge pull request #4287 from jkellerer/patch-1

emulators/qemu-guest-agent: fixes disabled-rpcs broke service start
This commit is contained in:
Frank Wall 2024-12-03 22:04:41 +01:00 committed by GitHub
commit 8326fb856f
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"