Open
Description
I want to minimize the amount of modified iPXE files so I only created custom.ipxe
and modified boot.cfg
. However I cannot seem to get the menu item custom-user
in menu.ipxe
. It looks like it is has two issues:
1. Misconfigured setting for the Docker version which does not generate custom-user menu item
and this results in not creating a line in
netbootxyz/netboot.xyz/blob/development/roles/netbootxyz/templates/menu/menu.ipxe
{% if custom_generate_menus | bool %}
item --gap Custom User Menus: ||
item custom-user ${space} Custom User Menus
{% endif %}
with the resulting menu.ipxe
file
:main_menu
clear menu
set space:hex 20:20
set space ${space:string}
isset ${next-server} && menu ${site_name} v${version} - next-server: ${next-server} || menu ${site_name}
item --gap Default:
item local ${space} Boot from local hdd
(...)
isset ${github_user} && item --gap Custom Github Menu: ||
isset ${github_user} && item custom-github ${space} ${github_user}'s Custom Menu ||
isset ${custom_url} && item --gap Custom URL Menu: ||
isset ${custom_url} && item custom-url ${space} Custom URL Menu ||
isset ${menu} && set timeout 0 || set timeout ${boot_timeout}
choose --timeout ${timeout} --default ${menu} menu || goto local
(...)
- When you create
custom.ipxe
in the web environment, shouldn't line 137 in
netbootxyz/netboot.xyz/blob/development/roles/netbootxyz/templates/menu/menu.ipxe.j2
be changed from
:custom-user
chain custom/custom.ipxe
goto main_menu
to
:custom-user
chain custom.ipxe
goto main_menu
Metadata
Metadata
Assignees
Labels
No labels