[GH-ISSUE #1535] Host-specific configs in tftp environment #497

Closed
opened 2026-02-27 14:52:00 +03:00 by kerem · 1 comment
Owner

Originally created by @max06 on GitHub (Nov 13, 2024).
Original GitHub issue: https://github.com/netbootxyz/netboot.xyz/issues/1535

Good evening!

According to following code I should be able to put device-specific configurations on the tftp-server I'm booting from.
github.com/netbootxyz/netboot.xyz@e619188a12/roles/netbootxyz/templates/disks/netboot.xyz.j2 (L98-L102)

Before putting work into these files I wanted to know if they are even requested - surprisingly that doesn't seem to be the case.

image

This is a packet-dump for 2 starts of a virtual machine using pxe. boot/netboot.xyz.efi is the latest version.

I'd love to get some answers on these questions:

  • Why are there no requests for local-vars.ipxe, HOSTNAME-*.ipxe, MAC-*.ipxe and menu.ipxe?
  • What it autoexec.ipxe and why is it only mentioned once in the changelog, but missing in code?
  • How can I get a different menu for a set of machines?

Thanks alot!

Originally created by @max06 on GitHub (Nov 13, 2024). Original GitHub issue: https://github.com/netbootxyz/netboot.xyz/issues/1535 Good evening! According to following code I should be able to put device-specific configurations on the tftp-server I'm booting from. https://github.com/netbootxyz/netboot.xyz/blob/e619188a1222756ba7a2d1ff0d1f562c5b840157/roles/netbootxyz/templates/disks/netboot.xyz.j2#L98-L102 Before putting work into these files I wanted to know if they are even requested - surprisingly that doesn't seem to be the case. ![image](https://github.com/user-attachments/assets/8c7ac0c6-4387-47f5-abfb-90cc71ce21f8) This is a packet-dump for 2 starts of a virtual machine using pxe. `boot/netboot.xyz.efi` is the latest version. I'd love to get some answers on these questions: - Why are there no requests for `local-vars.ipxe`, `HOSTNAME-*.ipxe`, `MAC-*.ipxe` and `menu.ipxe`? - What it `autoexec.ipxe` and why is it only mentioned once in the changelog, but missing in code? - How can I get a different menu for a set of machines? Thanks alot!
kerem closed this issue 2026-02-27 14:52:00 +03:00
Author
Owner

@max06 commented on GitHub (Nov 14, 2024):

Solved. The tftp-menu isn't used when the filename doesn't exactly match. Too bad when you put the files into a sub-directory on the tftp-server...

<!-- gh-comment-id:2476973955 --> @max06 commented on GitHub (Nov 14, 2024): Solved. The tftp-menu isn't used when the filename doesn't exactly match. Too bad when you put the files into a sub-directory on the tftp-server...
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/netboot.xyz#497
No description provided.