|
@@ -13,13 +13,32 @@ The source files are now templates in order to make things a bit easier to gener
|
|
|
|
|
|
This is a seperate repo for now but will more than likely roll into the existing repo.
|
|
This is a seperate repo for now but will more than likely roll into the existing repo.
|
|
|
|
|
|
|
|
+# Building locally
|
|
|
|
+
|
|
|
|
+## With Ansible
|
|
|
|
+
|
|
To generate, run:
|
|
To generate, run:
|
|
|
|
|
|
```
|
|
```
|
|
ansible-playbook -i inventory/all netbootxyz.yml
|
|
ansible-playbook -i inventory/all netbootxyz.yml
|
|
```
|
|
```
|
|
|
|
|
|
-It'll handle source generation as well as ipxe disk generation with the users 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.
|
|
|
|
|
|
+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.
|
|
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.
|
|
|
|
+
|