Files
2026-06-19 09:59:49 +00:00

24 lines
1.1 KiB
Plaintext

# DHCP reservations for the diskless fleet (dnsmasq --dhcp-hostsfile).
#
# Two ways entries land here, both SERVER-SIDE (the workstation image carries no
# hostname and stays fleet-generic):
#
# 1. AUTO (default): fleet-namer (the --dhcp-script) assigns a stable, creative
# starship-themed name per MAC on first contact (e.g. "nebula-vanguard-07")
# and appends a line below, then reloads dnsmasq. Same MAC -> same name
# forever. The host picks it up on its next DHCP renewal/reboot.
#
# 2. MANUAL (override): add your own line to pin a specific host. fleet-namer
# skips any MAC already listed, so manual entries always win.
#
# Format (fields after the MAC are order-independent):
# <MAC>,<hostname> # name only; IP from --dhcp-range
# <MAC>,<IPv4>,<hostname> # also pin the IP
# Names become <hostname>.${BOOT_DOMAIN} in DNS (A + PTR).
#
# Manual examples (uncomment + edit):
# 52:54:00:11:22:01,192.168.50.101,bridge-command
# 52:54:00:11:22:02,reactor-control
#
# --- fleet-namer auto-assigned entries are appended below this line ---