CentOS + Kea + ipxe/pxe

Hello, Fedorians! 0/

I dunno if you knew, but ISC’s DHCP is done… (since some time ago): ISC DHCP - ISC

I’ve created a little script to install Kea, configure it and use it to ipxe boot machines.

The PoC was done with 2 guests on top of libvirt. I had to define a “private” network, which is a NAT without DHCP.

Then, just ran the script and, with virt-manager, create a “manual installation” machine, put the NIC on the “private” network, enable UEFI without secure boot and enable the NIC as a secondary boot option.

Once done, you can just netboot the guests that have that network, even if it’s not the only one (as long as you boot from it).

Tried it with BIOS and UEFI.

I would appreciate feedback on it.

Kea + iPXE/PXE on CentOS Stream 10

My script is based on this great article: Using kea DHCP server for netbooting

1 Like