Closed FelixJacobi closed 5 years ago
May I merge or do you plan to add more? Like documentation in manpages?
I think before this is merged, I will add some documentation to the manpages.
I think before this is merged, I will add some documentation to the manpages.
Will take a few days, as I am on vacation next week, I will report back, when I have finished and remove the WIP from the PR's title.
Hi - did you make any progress so I could pull?
Hi,
Unfortunaly not, as I was involved in other important projects. I will work again on it starting this weekend and I am hoping to finish it within the four next weeks.
I think I will finish this evening.
Added manpage documentation and basic config validation.
Should be done, in my opinion. Feel free to merge, if there are no issues with the changes.
Thanks!
This adds support for Option 59 as descriped in #16. A new
bootfile
section is introduced in configuration, which looks like this:bootfile_url
is the URL embedded in option 59 and is sent to the client.user_class
andclient_architecture
can be used to restrict this boot file to several user classes (like iPXE which uses the boot file parameter to fetch the initial script after bootstrapping) or client architectures. Theclient_architecture
parameter can either contain the plain numeric architecture identifier (like0009
for EFI on AMD64 systems) or the well-known names listed in https://tools.ietf.org/html/rfc4578#section-2.1:The
bootfile
sections can be referenced from classes:The first entry which have a matching
user_class
andclient_architecture
value is chosen.TODO:
bootfiles
value?bootfile
sections.