Self-host netboot.xyz using Ansible or Docker
developmentYou can deploy your own netboot.xyz environment using the provided Ansible templates or Docker configuration.
Deploying with Ansible
To generate and run the deployment, use the site.yml playbook. By default, the build output is located in /var/www/html.
ansible-playbook site.ymlDeploying with Docker
To build and run the environment locally, use the following commands. The build output will be placed in a generated buildout folder.
docker build -t localbuild --platform=linux/amd64 -f Dockerfile .
docker run --rm -it --platform=linux/amd64 -v $(pwd):/buildout localbuildConfiguration and Overrides
- Local Overrides: Use a
user_overrides.ymlfile to override default settings (such as boot mirror URLs). This is preferred over editingboot.cfgdirectly, as changes toboot.cfgwill be lost upon redeployment. - Custom Menus: You can create custom templates for custom menus within netboot.xyz. Refer to the documentation in
etc/netbootxyz/custom/README.mdfor details.
ansible-playbook site.yml