Add inst.ks.sendmac to the iPXE boot script #6

Merged
benvin merged 1 commits from benvin/ipxe-sendmac into main 2026-08-08 18:16:15 +10:00
Owner

Why

Cobbler's per-MAC gPXE script passed inst.ks.sendmac, so anaconda sent its interface MACs as X-RHN-Provisioning-MAC-N headers when fetching the kickstart. The bootapi iPXE script omitted it, so it was not a full drop-in for Cobbler's gpxe output.

Changes

  • Emit inst.ks.sendmac immediately before inst.ks= in the boot iPXE template, matching Cobbler ordering.

Companion change in bootapi (embedded template + test).

https://claude.ai/code/session_01JUoARVdmhxKQHyyyp1pxeT

## Why Cobbler's per-MAC gPXE script passed `inst.ks.sendmac`, so anaconda sent its interface MACs as X-RHN-Provisioning-MAC-N headers when fetching the kickstart. The bootapi iPXE script omitted it, so it was not a full drop-in for Cobbler's gpxe output. ## Changes - Emit `inst.ks.sendmac` immediately before `inst.ks=` in the boot iPXE template, matching Cobbler ordering. Companion change in bootapi (embedded template + test). https://claude.ai/code/session_01JUoARVdmhxKQHyyyp1pxeT
unkinben added 1 commit 2026-08-06 22:19:46 +10:00
Add inst.ks.sendmac to the iPXE boot script
ci/woodpecker/push/pre-commit Pipeline was successful
ci/woodpecker/pr/pre-commit Pipeline was successful
ci/woodpecker/push/validate Pipeline was successful
ci/woodpecker/pr/validate Pipeline was successful
ee81dd9e51
Cobbler's per-MAC gPXE script passed inst.ks.sendmac, making anaconda send its
interface MACs as X-RHN-Provisioning-MAC-N headers when fetching the kickstart.
The bootapi iPXE script omitted it, so it was not a full drop-in for Cobbler's
gpxe output.

- Emit inst.ks.sendmac immediately before inst.ks= in the boot iPXE template,
  matching Cobbler ordering.

Claude-Session: https://claude.ai/code/session_01JUoARVdmhxKQHyyyp1pxeT
benvin merged commit 5df1894803 into main 2026-08-08 18:16:15 +10:00
benvin deleted branch benvin/ipxe-sendmac 2026-08-08 18:16:15 +10:00
Sign in to join this conversation.