Leverage Docker and Netboot.xyz to host Harvester/Rocky/Liberty installers and kickstart. We have been developing an Harvester Workshop and needed a better way to boot dozens of machines. Netboot.xyz was a simple way to do it. We used https://hub.docker.com/r/linuxserver/netbootxyz to simplify the install.
Then we created a custom menu and loaded the assets. After updating the DHCP settings on the network to point to the machine we are able to boot anything.
Netboot Docker docs : https://netboot.xyz/docs/docker
- install docker
- create directories
mkdir /opt/netboot/{config,assets}
- deploy with
docker compose -f docker_compose.yaml up -d
- Add
menu.ipxe
to/opt/netboot/config/menus/menu.ipxe
from below. - Add assets to
/opt/netboot/assets/
directory, aka unpack ISOs to directory.
Set the DHCPD next-server
with netboot.xyz.kpxe
or netboot.xyz.efi
for uefi.
Take a look at the tree output below. I truncated to show the important files.