Last active
May 27, 2024 18:53
-
-
Save kingdonb/1e70cfb163fbbc45dc7d96dc3cf94bfb to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# UNASSIGNED 10.17.13.1 - 10.17.13.2 | |
# UNASSIGNED 10.17.13.225 - 10.17.13.240 | |
# METALLB IPs 10.17.13.241 - 10.17.13.248 | |
# GATEWAY = 10.17.13.249 | |
# moo = 10.17.13.250 | |
# matchbox = 10.17.13.251 | |
# dnsmasq = 10.17.13.252 | |
# | |
docker run --restart unless-stopped --name=matchbox -d --net=vlan-13net \ | |
--ip 10.17.13.251 ghcr.io/aenix-io/cozystack/matchbox:v0.6.0 \ | |
-address=:8080 -log-level=debug | |
docker run --restart unless-stopped --name=dnsmasq -d --cap-add=NET_ADMIN --net=vlan-13net \ | |
--ip 10.17.13.252 quay.io/poseidon/dnsmasq:v0.5.0-31-gdc1adc8 \ | |
-d -q -p0 --dhcp-range=10.17.13.3,10.17.13.224 \ | |
--dhcp-option=option:router,10.17.13.249 \ | |
--dhcp-option=option:dns-server,10.17.13.254 \ | |
--enable-tftp --tftp-root=/var/lib/tftpboot \ | |
--dhcp-match=set:bios,option:client-arch,0 --dhcp-boot=tag:bios,undionly.kpxe \ | |
--dhcp-match=set:efi32,option:client-arch,6 --dhcp-boot=tag:efi32,ipxe.efi \ | |
--dhcp-match=set:efibc,option:client-arch,7 --dhcp-boot=tag:efibc,ipxe.efi \ | |
--dhcp-match=set:efi64,option:client-arch,9 --dhcp-boot=tag:efi64,ipxe.efi \ | |
--dhcp-userclass=set:ipxe,iPXE \ | |
--dhcp-boot=tag:ipxe,http://10.17.13.251:8080/boot.ipxe \ | |
--log-queries --log-dhcp |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment