No description
Find a file
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
docker-build-root adding basic docker builder 2019-11-10 12:19:57 -08:00
etc/netbootxyz/custom Add ability for self hosted custom menus (#23) 2019-11-29 16:02:15 -06:00
roles/netbootxyz Add ability for self hosted custom menus (#23) 2019-11-29 16:02:15 -06:00
script Add dosfstools for efi usb build and set -e 2019-11-27 15:27:44 +00:00
.travis.yml Tuning some settings 2019-11-23 13:34:51 -06:00
Dockerfile-build Add dosfstools for efi usb build and set -e 2019-11-27 15:27:44 +00:00
endpoints.yml Version bump for netbootxyz/ubuntu-squash:pop-19.10 new tag 10-115d425e 2019-11-29 21:57:05 +00:00
inventory Shift sample inventory to be single file 2019-11-18 05:42:40 +00:00
README.md Add ability for self hosted custom menus (#23) 2019-11-29 16:02:15 -06:00
site.yml Latest tuning, including utility menu generation 2019-11-17 19:49:25 +00:00
user_overrides.yml Pushing up more changes 2019-11-25 03:37:44 +00:00

netboot.xyz - v2 - Under Construction

** THIS IS A WORK IN PROGRESS, DO NOT USE **

** Templates are incomplete and still being worked **

netboot.xyz rewritten in ansible to generate standalone netboot environments.

The goal is to use this to generate the primary netboot.xyz site but at the same time allow it to be customizable for any type of environment or user.

The source files are now templates in order to make things a bit easier to generate.

This is a seperate repo for now but will more than likely roll into the existing repo.

Building locally

With Ansible

To generate, run:

ansible-playbook -i inventory site.yml

The build output will be located in /var/www/html on Debian OSs.

With Docker

docker build -t localbuild -f Dockerfile-build .
docker run --rm -it -v $(pwd):/buildout localbuild

The build output will be in the generated folder buildout

Local Overides

Ansible will handle source generation as well as ipxe disk generation with your settings. The disk generation was worked on a while back so it needs work to catch it up to the existing state of netboot.xyz.

If you want to override the defaults, you can put overrides in user_overrides.yml. See file for examples.

Also note many user customizations are located in the boot.cfg file for the IPXE menus. A high level of customization can be achieved using our stock build output and hosting this along with the menus locally.

Self Hosted Custom Options

In addition to being able to host netboot.xyz locally, you can also create your own custom templates for custom menus within netboot.xyz. Please see Custom User Menus for more information.