Antony Messerli 413f49b4d5
Add ability for self hosted custom menus (#23)
* Adds ability for self hosted custom menus

Templates can be added to /etc/netbootxyz/custom and are
generated and placed in the custom directory of the root
web directory by setting custom_generate_menus to true.

This provides an option on the main netboot.xyz menu to chain
into a custom environment so that seperate local menus can be
added and maintained seperately from the netboot.xyz source
code tree.

* Remove todo
2019-11-29 16:02:15 -06:00
..

Custom Menus for Self Hosted netboot.xyz

This directory contains custom iPXE files that are rendered during menu generation and available from the main menu via the custom menu option.

When these options are set:

custom_generate_menus: true
custom_templates_dir: "{{ netbootxyz_conf_dir }}/custom"

the menu will add an option for custom menus and attempt to load into custom/custom.ipxe. From there custom options can be built and maintained seperately from the netboot.xyz source tree so that both menus can be updated independently.

A sample menu is provided to demonstrate how to configure and set up a menu. You can copy the custom directory from the repo:

cp etc/netbootxyz/custom /etc/netbootxyz/custom