[GH-ISSUE #1562] REQUEST: Check if Vars are set in local-vars.ipxe #2048

Open
opened 2026-03-01 18:38:09 +03:00 by kerem · 0 comments
Owner

Originally created by @Aergernis on GitHub (Jan 18, 2025).
Original GitHub issue: https://github.com/netbootxyz/netboot.xyz/issues/1562

Hi,

would like to have a check if Variables in boot.cfg are already set in local-vars.ipxe ( site name, timeout ect)

i mean something like this:

# set site name
isset ${site_name} || set site_name netboot.xyz

# signature check enabled?
isset ${sigs_enabled} || set sigs_enabled true

# set default boot timeout
isset ${boot_timeout} || set boot_timeout 300000


Originally created by @Aergernis on GitHub (Jan 18, 2025). Original GitHub issue: https://github.com/netbootxyz/netboot.xyz/issues/1562 Hi, would like to have a check if Variables in `boot.cfg` are already set in `local-vars.ipxe` ( site name, timeout ect) i mean something like this: ``` # set site name isset ${site_name} || set site_name netboot.xyz # signature check enabled? isset ${sigs_enabled} || set sigs_enabled true # set default boot timeout isset ${boot_timeout} || set boot_timeout 300000 ```
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#2048
No description provided.