HomeVyOS Platform

dhcp: T3316: Adjust dhcp-run script to align with kea hooks

Description

dhcp: T3316: Adjust dhcp-run script to align with kea hooks

The hook arguments passed to on-dhcp-event.sh have changed in Kea.
Adjust the script to align with the new arguments.

Additionally, remove FQDN mangling from the script. No need to extract
the domain name from LEASE4_HOSTNAME only to append it again.

See: https://kea.readthedocs.io/en/latest/arm/hooks.html#hooks-run-script

Details

Provenance
indrajitrAuthored on Dec 17 2023, 1:04 AM
Parents
rVYOSONEX03202504d559: Merge pull request #2617 from indrajitr/ddclient-improvement-round-3-2023-12-11
Branches
Loading...
Tags
Loading...