# /srv/tftp/pxelinux.cfg/default - unknown machines land here.
# Commissioned machines get a per-MAC file (01-xx-xx-...) written by rollcall.
DEFAULT menu.c32
PROMPT 0
TIMEOUT 80
MENU TITLE rollcall (@SERVER@) - unknown machine: commissioning in 8s

LABEL commission
  MENU LABEL Commission this machine (inventory + BMC account)
  MENU DEFAULT
  KERNEL rollcall/vmlinuz
  INITRD rollcall/initrd.img
  APPEND boot=live components fetch=@SERVER@/rollcall/filesystem.squashfs rollcall.server=@SERVER@ noautologin rollcall.token=@AGENT_TOKEN@ console=tty0 console=ttyS0,115200n8

LABEL commission-debug
  MENU LABEL Commission, but stay up afterwards (ssh root@<ip>)
  KERNEL rollcall/vmlinuz
  INITRD rollcall/initrd.img
  APPEND boot=live components fetch=@SERVER@/rollcall/filesystem.squashfs rollcall.server=@SERVER@ noautologin rollcall.token=@AGENT_TOKEN@ rollcall.nopoweroff console=tty0 console=ttyS0,115200n8

LABEL netbootxyz
  MENU LABEL netboot.xyz (needs internet via NAT)
  KERNEL netboot.xyz.lkrn

LABEL local
  MENU LABEL Boot from local disk
  LOCALBOOT 0
