This container is used to generate custom iPXE
images with embedded scripts.
Given the iPXE
script below...
#!ipxe
dhcp && chain http://boot.kato/ipxe?roles=quorum,master,worker
...floppy, ISO and USB images can be generated using the examples below:
docker run -it --rm \
-v ${PWD}:/tmp \
quay.io/kato/ipxe \
bin/ipxe.dsk EMBED=/tmp/embedded.ipxe
docker run -it --rm \
-v ${PWD}:/tmp \
quay.io/kato/ipxe \
bin/ipxe.iso EMBED=/tmp/embedded.ipxe
docker run -it --rm \
-v ${PWD}:/tmp \
quay.io/kato/ipxe \
bin/ipxe.usb EMBED=/tmp/embedded.ipxe
Using the host's resolver as a DNS proxy in VirtualBox NAT mode:
VBoxManage modifyvm ${VM_NAME} --natdnshostresolver1 on
Now you can edit the host's /etc/hosts
and add some fake records such as:
192.168.1.22 ipxe.kato.one