diff options
author | Christian Breunig <christian@breunig.cc> | 2024-02-02 10:07:09 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-02-02 10:07:09 +0100 |
commit | eb41a9a96f5284d49156df9120316f46a6ad2f97 (patch) | |
tree | a4d4940464c07fd73fac6b0d0f541dcb342acc99 /data | |
parent | 4b0a78b0d2e4e0ea813e93b0842ae3aed15d1a43 (diff) | |
parent | dca220d515e6c1009b316400174382b88837df6c (diff) | |
download | vyos-1x-eb41a9a96f5284d49156df9120316f46a6ad2f97.tar.gz vyos-1x-eb41a9a96f5284d49156df9120316f46a6ad2f97.zip |
Merge pull request #2889 from sarthurdev/kea-hooks
dhcpv6: T3771: Installation of routes for delegated prefixes, add excluded-prefix to PD
Diffstat (limited to 'data')
-rw-r--r-- | data/templates/dhcp-server/kea-dhcp6.conf.j2 | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/data/templates/dhcp-server/kea-dhcp6.conf.j2 b/data/templates/dhcp-server/kea-dhcp6.conf.j2 index 3ab21551b..2f0de6b30 100644 --- a/data/templates/dhcp-server/kea-dhcp6.conf.j2 +++ b/data/templates/dhcp-server/kea-dhcp6.conf.j2 @@ -19,6 +19,15 @@ "name": "{{ lease_file }}" }, "hooks-libraries": [ +{% if disable_route_autoinstall is not vyos_defined %} + { + "library": "/usr/lib/{{ machine }}-linux-gnu/kea/hooks/libdhcp_run_script.so", + "parameters": { + "name": "/usr/libexec/vyos/system/on-dhcpv6-event.sh", + "sync": false + } + }, +{% endif %} { "library": "/usr/lib/{{ machine }}-linux-gnu/kea/hooks/libdhcp_lease_cmds.so", "parameters": {} |