OPNsense Forum

English Forums => 24.7, 24.10 Legacy Series => Topic started by: mrguitar on August 22, 2024, 12:46:12 AM

Title: Kea drop-ins for advanced configs?
Post by: mrguitar on August 22, 2024, 12:46:12 AM
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!
Title: Re: Kea drop-ins for advanced configs?
Post by: franco on August 22, 2024, 08:02:14 AM
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
Title: Re: Kea drop-ins for advanced configs?
Post by: mrguitar on August 23, 2024, 12:22:31 AM
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,
Title: Re: Kea drop-ins for advanced configs?
Post by: franco on August 23, 2024, 11:04:54 AM
For Kea or ISC DHCP?


Cheers,
Franco
Title: Re: Kea drop-ins for advanced configs?
Post by: mrguitar on August 23, 2024, 06:16:43 PM
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.
Title: Re: Kea drop-ins for advanced configs?
Post by: franco on August 23, 2024, 09:38:59 PM
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