mirror of
https://github.com/netbootxyz/netboot.xyz.git
synced 2026-04-25 15:15:56 +03:00
[GH-ISSUE #1344] [BUG] win_base_url not listed when booting to netbootxyz windows menu #409
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#409
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?
Originally created by @deffcolony on GitHub (Nov 26, 2023).
Original GitHub issue: https://github.com/netbootxyz/netboot.xyz/issues/1344
Describe the bug
When i tried to set the base url for win_base_url at boot.cfg it does not get displayed in the boot menu for windows... i have to type the url manually everytime i boot to netbootxyz menu
Environment
Docker on a ubuntu server
To Reproduce
Steps to reproduce the behavior:
I use the following docker-compose.yml maybe this could help?
Expected behavior
The base url should be listed in the netbootxyz menu options for windows
Screenshots
I have set the correct base url for winpe

The base url does indeed get saved in the file mounted from the docker volume when i save it from the dashboard page

The base url does also get saved in the internal container files:

The base url wont get displayed on a physical device meaning i have to type the url manually...

The base url also wont get displayed on a virtual machine meaning i have to type the url manually...

Additional context
@antonym commented on GitHub (Nov 26, 2023):
I'd make sure that iPXE is loading the menu that contains the boot.cfg and not pulling from the main boot.netboot.xyz. I tried setting that var in my boot.cfg on my local install and the var immediately loaded and showed up.
@deffcolony commented on GitHub (Nov 27, 2023):
@antonym,
In the boot.cfg file i see the following:
What exactly do i need to modify so it loads the boot.cfg locally from the file i edited?
@tmleafs commented on GitHub (Nov 30, 2023):
I have the same issue
Changed "set win_base" and "set live_endpoint"
but either are taking effect
@deffcolony commented on GitHub (Dec 13, 2023):
@tmleafs It's unfortunate that you're facing the same issue with setting "win_base_url" and "live_endpoint." I've encountered a similar problem when trying to configure these settings in the boot.cfg file.
I've been exploring possible solutions, but so far, I haven't found a definitive fix. It seems like others in the community are experiencing the same challenge.
If you come across any solution or workaround, please share it here.
@hellmind commented on GitHub (Dec 31, 2023):
I get boot.cfg restored on every docker container restart
@KejjRod commented on GitHub (Jan 7, 2024):
And how do we do this?
@hellmind commented on GitHub (Jan 8, 2024):
I fixed editing every boot.cfg in there ...
There are many,
@deffcolony commented on GitHub (Mar 24, 2024):
@hellmind @KejjRod @tmleafs @antonym
any progress? solutions? I am still having the same issue with the most recent Netboot update, as previously mentioned:
Base URL at boot.cfg for win_base_url It is not visible in the Windows boot menu. Every time I boot to the netbootxyz menu, I have to manually type the URL. This is inefficient, and it has to be prefilled in with the configuration inside boot.cfg
@raidflex commented on GitHub (Apr 4, 2024):
Have there been any updates on this issue. I am experiencing the same issue with the Base URL?
@deffcolony commented on GitHub (Jun 19, 2024):
@raidflex I still experience the same issue. have you found a solution yet?
@callistajosette commented on GitHub (Sep 24, 2024):
For anyone struggling with this, I found through experimentation setting up a self-hosted instance that netboot chooses where to pull its menus by the value of
boot_domain; *Note that that's separate fromlive_endpointwhich tells netboot where to pull, for ex., image filesYou can see which domain you are on via the ipxe shell option in the main menu with
echo ${boot_domain}. So if you are pulling the (online) production release menu you would seeboot.netboot.xyz, the (online) development release menudev.boot.netboot.xyz, or whatever you set it to to pickup your local modified menu. Modifications to boot.cfg only affect your local menu and boot_domain points netboot to your local menu.