Kea drop-ins for advanced configs?

Started by mrguitar, August 22, 2024, 12:46:12 AM

Previous topic - Next topic
Unfortunately, UEFI HTTP boot settings never made it in the opnsense UI for ISC DHCP. While that's the ideal, we had a great backstop where I could create something like this:
/usr/local/etc/dhcpd.opnsense.d/httpboot.conf

class "httpclients" {
option vendor-class-identifier "HTTPClient";
match if substring (option vendor-class-identifier, 0, 10) = "HTTPClient";
filename "http://blahblahblha/file.EFI";
}

This works as expected.
Anyway, I was just looking into migrating to kea and we have a similar station with the UI, but I don't see a place to add advanced config files. I don't have any kea experience and could be missing something obvious. Is this doable?

Thanks!

Since Kea configuration is based on JSON and some things like options don't seem to work as documented there will be not advanced file includes at the moment. The whole construct is a bit brittle from current experience.


Cheers,
Franco

Thanks for that. I guess I wouldn't need that if we can get UEFI HTTP boot support in the UI, or have a means to set this via an API. Is this worth filing an feature request for?

Thanks,


I'm thinking for Kea. As PXE & ISC slowly keep dying, it probably makes sense to add support for things like this on the new side.

I'm not sure if a ticket is open but in either case it would be nice to have this on record in GitHub.

https://github.com/opnsense/core/issues/new?assignees=&labels=&projects=&template=feature_request.md&title=


Cheers,
Franco