kea: don't configure HA unless needed

This commit is contained in:
Markus 2024-10-05 19:27:36 +02:00
parent c8a0e54cc8
commit b425f3b482

View File

@ -24,6 +24,7 @@
"hooks-libraries": [ "hooks-libraries": [
{ {
"library": "/usr/lib/x86_64-linux-gnu/kea/hooks/libdhcp_lease_cmds.so" "library": "/usr/lib/x86_64-linux-gnu/kea/hooks/libdhcp_lease_cmds.so"
{% if dhcpd_failover %}
}, },
{ {
@ -51,6 +52,7 @@
] ]
} ] } ]
} }
{% endif %}
} }
], ],