diff options
author | sarthurdev <965089+sarthurdev@users.noreply.github.com> | 2024-01-20 22:25:06 +0100 |
---|---|---|
committer | sarthurdev <965089+sarthurdev@users.noreply.github.com> | 2024-01-24 22:17:25 +0100 |
commit | 8e2112261c68189c2c78455c3e1f32d7f5447ab9 (patch) | |
tree | 8055a7ba62f0d9b886caf7d01496add9c78354c5 /data/templates | |
parent | 5c29cf757b449d68f06715a58d0b2e65e0a6c636 (diff) | |
download | vyos-1x-8e2112261c68189c2c78455c3e1f32d7f5447ab9.tar.gz vyos-1x-8e2112261c68189c2c78455c3e1f32d7f5447ab9.zip |
dhcpv6: T3771: Allow installation of routes for delegated prefixes
Diffstat (limited to 'data/templates')
-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": {} |