Skip to content

Commit

Permalink
Adds a check for local-vars for boot_timeout
Browse files Browse the repository at this point in the history
Closes: #1482
  • Loading branch information
antonym committed Jan 7, 2025
1 parent 3ea58fb commit ee3f2e2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions roles/netbootxyz/templates/local-vars.ipxe.j2
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 1 addition & 1 deletion roles/netbootxyz/templates/menu/boot.cfg.j2
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit ee3f2e2

Please sign in to comment.