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

Document the option to detect RPI4 platform in dhcp conf exemple #96

Open
nodje opened this issue Jan 6, 2024 · 0 comments
Open

Document the option to detect RPI4 platform in dhcp conf exemple #96

nodje opened this issue Jan 6, 2024 · 0 comments

Comments

@nodje
Copy link

nodje commented Jan 6, 2024

The idea would be to document how to detect RPi4 platform in DHCP. If at all possible.
I guess it would be already documented if it was, but otherwise would be good to understand why it's not possible.

It would sit in this section
https://netboot.xyz/docs/docker#examples

option arch code 93 = unsigned integer 16;

subnet 192.168.0.0 netmask 255.255.255.0 {
  range 192.168.0.34 192.168.0.254;       # Change this range as appropriate for your network
  next-server 192.168.0.33;               # Change this to the address of your DHCP server
  option subnet-mask 255.255.255.0;
  option routers 192.168.0.1;             # Change this to the address of your router
  option broadcast-address 192.168.0.255;
  option domain-name "mynetwork.lan";     # This is optional
  option domain-name-servers 1.1.1.1;
  if exists user-class and ( option user-class = "iPXE" ) {
    filename "http://boot.netboot.xyz/menu.ipxe";
  } elsif option arch = encode-int ( 16, 16 ) {
    filename "http://boot.netboot.xyz/ipxe/netboot.xyz.efi";
    option vendor-class-identifier "HTTPClient";
  } elsif option arch = 00:07 {
    filename "netboot.xyz.efi";
  } else {
    filename "netboot.xyz.kpxe";
  }
}

this should include an option to assign netboot.xyz-rpi4-snp.efi if some detection is possible.

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

No branches or pull requests

1 participant