|
5 vuotta sitten | |
---|---|---|
docker-build-root | 5 vuotta sitten | |
inventory | 5 vuotta sitten | |
roles | 5 vuotta sitten | |
Dockerfile-build | 5 vuotta sitten | |
README.md | 5 vuotta sitten | |
TODO.md | 5 vuotta sitten | |
endpoints.yml | 5 vuotta sitten | |
site.yml | 5 vuotta sitten | |
user_overrides.yml | 5 vuotta sitten |
** 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.
To generate, run:
ansible-playbook -i inventory/all site.yml
The build output will be located in /var/www/html on Debian OSs.
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
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.