mirror of
https://github.com/netbootxyz/netboot.xyz.git
synced 2026-04-25 23:25:54 +03:00
[PR #1638] [MERGED] fix(ipxe): fix filename checks #3022
Labels
No labels
Hacktoberfest
Hacktoberfest
bootloader
bsd
bug
confirmed
documentation
duplicate
enhancement
enhancement
enhancement
eol
experimental-merged
freebsd
help wanted
invalid
investigate
ipxe
linux
live-os
memdisk
menu
no-issue-activity
no-issue-activity
pull-request
released
todo
upstream
windows
windows
work-in-progress
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/netboot.xyz#3022
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/netbootxyz/netboot.xyz/pull/1638
Author: @jkoelker
Created: 6/16/2025
Status: ✅ Merged
Merged: 6/17/2025
Merged by: @antonym
Base:
development← Head:tftpmenu📝 Commits (1)
7bc3e6bfix(ipxe): fix filename checks📊 Changes
2 files changed (+16 additions, -1 deletions)
View changed files
📝
CHANGELOG.md(+7 -0)📝
roles/netbootxyz/templates/disks/netboot.xyz.j2(+9 -1)📄 Description
The
filenamecontains the full path to the file, usually the netboot assets are in/of a tftp server, so the check if its booted from the ipxe assets will always fail. Add an additional check prepended with/to allow the check to pass when booted from the root of a tftp server.Also add loading of MAC- ipxe scripts with hypens in addition to raw, i.e.
MAC-00-11-22-33-44-55.ipxeorMAC-001122334455.ipxe.Fixes: #1097
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.