mirror of
https://github.com/novatiq/packages.git
synced 2026-04-30 07:28:39 +01:00
isc-dhcp: allow hosts to have dhcp options
Sometimes it's necessary to set per-host options like:
list dhcp_option 'option:always-broadcast,true'
for hosts that don't understand unicast replies. There might
be other options you might want to set on a per-host basis,
such as extensions-path, dhcp-message-text, etc.
Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
This commit is contained in:
@@ -112,6 +112,7 @@ static_host_add() {
|
||||
if [ -n "$gateway" ] ; then
|
||||
echo " option routers $gateway;"
|
||||
fi
|
||||
config_list_foreach "$cfg" "dhcp_option" append_dhcp_options
|
||||
echo "}"
|
||||
done
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user