# MAC Address to Profile Mappings
#
# This file documents the MAC address mappings used in boot.ipxe
# Update this file when adding new nodes to your infrastructure
#
# Format: MAC_ADDRESS    PROFILE         HOSTNAME
#
# To generate MAC addresses for virtual machines (testing):
#   - Use the 52:54:00:xx:xx:xx range (QEMU/KVM local)
#   - Or use your hypervisor's MAC assignment
#
# For physical servers:
#   - Use the actual MAC address of the primary network interface
#   - Usually found on a label on the server or in BIOS/BMC
#

# Control Plane Nodes
52:54:00:12:34:56    control-plane    control-plane-01
52:54:00:12:34:59    control-plane    control-plane-02
52:54:00:12:34:5a    control-plane    control-plane-03

# Worker Nodes
52:54:00:12:34:57    worker           worker-01
52:54:00:12:34:5b    worker           worker-02
52:54:00:12:34:5c    worker           worker-03

# All-in-One Nodes (Testing/Homelab)
52:54:00:12:34:58    all-in-one       all-in-one-01

# Instructions for Adding New Nodes:
# 1. Add the MAC address, profile, and hostname to this file
# 2. Update boot.ipxe with the new MAC address mapping
# 3. Update dhcpd.conf with a host entry for fixed IP assignment (optional)
# 4. Restart the DHCP service: systemctl restart dhcpd
#
# Example:
# 52:54:00:12:34:5d    worker           worker-04
#
# Then add to boot.ipxe:
# iseq ${mac} 52:54:00:12:34:5d && set profile worker && set hostname worker-04 && goto boot ||
#
# And optionally add to dhcpd.conf:
# host worker-04 {
#     hardware ethernet 52:54:00:12:34:5d;
#     fixed-address 10.0.100.64;
#     option host-name "worker-04";
# }
