mirror of
https://github.com/netbootxyz/docker-netbootxyz.git
synced 2026-04-25 15:05:50 +03:00
[GH-ISSUE #4] usage of local assets #122
Labels
No labels
enhancement
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/docker-netbootxyz#122
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 @yaurora on GitHub (Nov 20, 2021).
Original GitHub issue: https://github.com/netbootxyz/docker-netbootxyz/issues/4
I have hosted my own copy of netbookxyz via docker, and I downloaded some assets and want to boost network installation from those local resources.
For exmaple I downloaded Proxmox VE and modified proxmox.ipxe to use local resources by setting live_endpoint to my own server ip:
However, when i tried to boot the Proxmox installer it still tried to retrive all the resources from github.
So what's the correct approach to use local assets please?
@antonym commented on GitHub (Nov 22, 2021):
Modify boot.cfg and adjust the live_endpoint value:
set live_endpoint http://192.168.1.100:8080
You can drop into your iPXE shell and do a echo ${live_endpoint} to make sure you have the endpoint set. If it's not set, it may have fallen back to the hosted version if the locally version of the menu failed to boot.
@east4ming commented on GitHub (Nov 9, 2024):
I'm having the same problem. What do you mean "it may have fallen back to the hosted version if the locally version of the menu failed to boot."? How should I check my configuration and fix
Update:
I finally found the problem: there are 3 boot.cfg, the directories are.
I only changed the first two, when I changed the live_endpoint of all 3 boot.cfg, I can get the local assets correctly.
In view of this, I think it would be a good idea to specify here https://netboot.xyz/docs/docker#local-mirror-access the exact location of the boot.cfg that should be modified.
Update Again:
The above changes may or may not take effect. So it's not the reason mentioned above.
Eventually, I realized that it was the dhcp configuration, and I changed the dhcp configuration to the dhcp proxy method, and it worked fine. The configuration is as follows.
supervisor.conf change:
docker-compose change:
Thank you.