暂无描述

Antony Messerli 132399730c Pushing up more changes 5 年之前
docker-build-root eabb50e24d adding basic docker builder 5 年之前
roles 132399730c Pushing up more changes 5 年之前
script 132399730c Pushing up more changes 5 年之前
.travis.yml 8c0d988b4d Tuning some settings 5 年之前
Dockerfile-build bbcc2eaa9d Shift sample inventory to be single file 5 年之前
README.md bbcc2eaa9d Shift sample inventory to be single file 5 年之前
TODO.md fe57e98664 Adding more changes 5 年之前
endpoints.yml a01cda92ca Version bump for netbootxyz/ubuntu-squash:ubuntu-kylin-19.10 new tag e7831484-762c8439 5 年之前
inventory bbcc2eaa9d Shift sample inventory to be single file 5 年之前
site.yml 214e34961f Latest tuning, including utility menu generation 5 年之前
user_overrides.yml 132399730c Pushing up more changes 5 年之前

README.md

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.