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

Merged
benvin merged 1 commits from benvin/ipxe-sendmac into main 2026-08-08 18:16:42 +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. bootapi's iPXE script omitted it, so the boot script was not a full drop-in for Cobbler's gpxe output.

Changes

  • Emit inst.ks.sendmac immediately before inst.ks= in the embedded boot iPXE template, matching Cobbler ordering.
  • Assert the arg is present in the rendered catalog iPXE test.

Companion change in bootapi-templates (the git-synced source of truth).

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. bootapi's iPXE script omitted it, so the boot script was not a full drop-in for Cobbler's gpxe output. ## Changes - Emit `inst.ks.sendmac` immediately before `inst.ks=` in the embedded boot iPXE template, matching Cobbler ordering. - Assert the arg is present in the rendered catalog iPXE test. Companion change in bootapi-templates (the git-synced source of truth). https://claude.ai/code/session_01JUoARVdmhxKQHyyyp1pxeT
unkinben added 1 commit 2026-08-06 22:19:43 +10:00
Add inst.ks.sendmac to the iPXE boot script
ci/woodpecker/pr/pre-commit Pipeline was successful
ci/woodpecker/pr/build Pipeline was successful
ci/woodpecker/pr/test Pipeline was successful
4ee6c1f4cd
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. bootapi's iPXE script omitted it, so the boot script 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.
- Assert the arg is present in the rendered catalog iPXE test.

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