This commit is contained in:
pi-farm
2023-11-17 18:28:21 +01:00
commit 83aebf933f
20 changed files with 274 additions and 0 deletions

31
README.md Executable file
View File

@@ -0,0 +1,31 @@
HowToBuild and setup
Clone this repo: git clone https://gitea.pi-farm.duckdns.org/meik/pxe-server.git
and cd into it: cd pxe-server
run: bash start.sh
1. choose (b) to build the image
2. restart your pc
3. edit the p2-include-handle file in RPi-PXE-Server folder (look here: https://github.com/beta-tester/RPi-PXE-Server#p2-include-handle--c2-custom-handle)
4. run bash start.sh again an choose (s) for setup
5. restart your pc
6. run bash start.sh again an choose (u) for update
afer that, your pc is ready
to check, if the volumes are mounted, go into the running container:
docker exec -it pxe-container bash
- run: df -h
- run: showmount -e
Check if all services are up and running:
systemctl status chrony dnsmasq lighttpd nfs-mountd nfs-server nfs-kernel-server
if not, try to start the services:
systemctl start chrony dnsmasq lighttpd nfs-mountd nfs-server nfs-kernel-server