File structure:
|-- config
| `-- ignition.yaml
|-- flatcar_production_pxe.vmlinuz
|-- flatcar_production_pxe_image.cpio.gz
|-- hardware.json
|-- k8s.yaml
|-- ldlinux.c32
|-- pxelinux.0
|-- run.sh
|-- scripts
| |-- cni.sh
| |-- hostname.sh
| |-- join.sh
| |-- kube-tools.sh
| |-- systemd.sh
| `-- version-check.sh
`-- version.txt
Docker command (run in the root directory from above):
docker run --rm -it \
-v $PWD:/data/ \
-p 69:69/udp \
-p 8282:8080 \
ghcr.io/jeefy/booty:main \
--serverHttpPort=8282
--debug
My client supports PXE, and I'm forwarding requests to Booty from my DHCP server to:
IP: <docker-host-ip>
Filename: pxelinux.cfg/default
Contents of ignition.yaml
:
variant: flatcar
version: 1.0.0
passwd:
users:
# add user 'core' with ssh key
- name: core
ssh_authorized_keys:
- <my-ssh-public-key>