Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

boot.cfg changes not loading. #6

Closed
gnogeek opened this issue May 5, 2022 · 4 comments · Fixed by #8
Closed

boot.cfg changes not loading. #6

gnogeek opened this issue May 5, 2022 · 4 comments · Fixed by #8

Comments

@gnogeek
Copy link

gnogeek commented May 5, 2022

First thanks for you effort to make this work so fine,

I'm facing something that I don't know if call it really an issue,

I make modifications on the boot.cfg, but them are not reflected at all, its just keep getting the menus and the config from remote.

I would like to configure it to get local assets from my local vm.

Thanks in advance.

@zyssai
Copy link

zyssai commented May 5, 2022

Hi, I just wanted to open an issue for the same problem.
Changes mades in boot.cfg (especially set win_base_url in my case) are not applied at boot.

`docker network create --driver=ipvlan --gateway=192.168.0.254 --subnet=192.168.0.2/24 --ip-range=192.168.0.100/32 -o parent=enp4s0 netbootxyz_network

version: "3.9"
networks:
netbootxyz_network:
external: true
services:
netbootxyz:
container_name: netbootxyz
image: samdbmg/dhcp-netboot.xyz:latest
environment:
- TZ=Europe/Paris
- PUID=1000
- PGID=1000
- DHCP_RANGE_START=192.168.0.2
restart: unless-stopped
networks:
netbootxyz_network:
ipv4_address: 192.168.0.251
ports:
- 3000:3000
- 69:69/udp
cap_add:
- NET_ADMIN
volumes:
- $DOCKERDIR/netbootxyz:/etc/netbootxyz
- $DOCKERDIR/netbootxyz/config:/config
- $PXEDIR:/assets`

I really need to say that other than that, it's really works fine, as you can see here

@samdbmg
Copy link
Owner

samdbmg commented Jul 23, 2022

Hi both, sorry for the slow response, it's been a busy few months in my personal life!

I think the change in #8 should have fixed this: it turns out the DHCP next-server wasn't being set properly so some fallback behaviour was triggered in netboot.xyz. If you get the chance, would you mind trying changing the config and local assets again and re-opening if it doesn't work for you?

@zyssai
Copy link

zyssai commented Jul 25, 2022

Hi!

Changes mades in boot.cfg or windows.ipxe for example are working!
I just need to disable Signature checks or I end with this screen:
IMG_20220725_175007~2

Another thing, is it ok to have all these errors at start?
IMG_20220725_180444~2

Thanks for your support!

@samdbmg
Copy link
Owner

samdbmg commented Aug 3, 2022

I just need to disable Signature checks or I end with this screen:
This is a limitation of netboot.xyz: the binaries aren't signed to allow secure boot to work.

Another thing, is it ok to have all these errors at start?
Yes, what's happening there is it's trying to find a specific set of vars and config for that computer, rather than the generic one, but of course there is no specific config in your environment, so it fails and falls back to generic. In a large enterprise environment there might be specific config on a netboot server for each computer, e.g. so you can just plug it in and power it on, and it'll install and set up itself. But in an homelab type environment, that's probably complexity you don't need.

I've opened #10 to call those out in the README

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants