DeterminateSystems / nix-netboot-serve

Make any NixOS system netbootable with 10s cycle times.
MIT License
198 stars 11 forks source link

boot.rs: serve_extlinux variant for serving extlinux to u-boot clients? #17

Open colemickens opened 2 years ago

colemickens commented 2 years ago

Hi,

Skimming through this, I'm curious if there's opposition to having another url that would serve up an extlinux.conf instead of the ipxe script? Then I could just have a small reverse proxy setup to redirect PXE boot requests to their given profile endpoint within nix-netboot-serve. This would allow me to leverage this same code/module/etc to run a local netboot server for my various in-progress tow-boot clients.

I did consider that I could throw iPXE into the mix, but I've always gotten the impression that getting that going on certain embedded platforms can be a bit of a hassle.

colemickens commented 2 years ago

I guess I should have thought about this a tiny bit more, pxe and tftp is all going to be over not-HTTP, and I doubt y'all are trying to grow this into a tftp server. Maybe I need to reconsider trying iPXE.