Hi Christoph,
If you are handling PXE clients, using the vendor client class would probably
be
best.
But if you do want to change an option value based on the content of a request,
you
could test the vendor class contents.
ie.:
"hooks-libraries": [ {
"library": "/usr/local/lib/libdhcp_flex_option.so",
"parameters": {
"options": [
{
"code": 67,
"supersede": "ifelse(substring(option[60].hex,0,20)
== 'PXEClient:Arch:00007', concat('pxe-x00007','.boot'),'')"
}
]
}
}
],
/Peter
--
ISC funds the development of this software with paid support subscriptions.
Contact us at https://www.isc.org/contact/ for more information.
To unsubscribe visit https://lists.isc.org/mailman/listinfo/kea-users.
Kea-users mailing list
[email protected]
https://lists.isc.org/mailman/listinfo/kea-users