Adds a check for local-vars for boot_timeout

Closes: https://github.com/netbootxyz/netboot.xyz/issues/1482
This commit is contained in:
Antony Messerli 2025-01-07 00:08:40 -06:00
parent 3ea58fb9f1
commit ee3f2e2b4b
2 changed files with 4 additions and 1 deletions

View file

@ -15,3 +15,6 @@
### Sets the local live endpoint for the users local installation
#set live_endpoint http://my_ip_address:8080
### Sets the default boot timeout
#set boot_timeout 300000

View file

@ -23,7 +23,7 @@ set sigs {{ sigs_location }}
iseq ${platform} efi && set ipxe_disk netboot.xyz-snponly.efi || set ipxe_disk netboot.xyz-undionly.kpxe
# set default boot timeout
set boot_timeout {{ boot_timeout }}
isset ${boot_timeout} || set boot_timeout {{ boot_timeout }}
##################
# official mirrors