PXE funktioniert nicht

Benutzeravatar
SisterOfMercy
Beiträge: 1556
Registriert: 22 Jun 2012, 19:18

Re: PXE funktioniert nicht

Beitrag von SisterOfMercy »

And for your isc dhcp config you want something like this:

Code: Alles auswählen

next-server 10.23.0.25;
option client-arch code 93 = array of unsigned integer 16;
if not exists client-arch {
       filename "linux/pxelinux.0";
} elsif substring (option client-arch,0,0) = option client-arch {
       filename "linux/pxelinux.0";
} elsif option client-arch = encode-int (0,16) {       # 0 x86 BIOS
       filename "linux/pxelinux.0";
} elsif option client-arch = encode-int (6,16) {       # 6 x86 UEFI
       filename "linux/pxelinux.cfg/elilo-x86.efi";
} elsif option client-arch = encode-int (7,16) {       # 7 x64 UEFI
       filename "linux/pxelinux.cfg/grubx64.efi";
} elsif option client-arch = encode-int (9,16) {       # 9 UEFI ByteCode
       filename "linux/pxelinux.cfg/grubx64.efi";
}
Note that an x86 UEFI implementation is rare. And the bytecode, uh, don't ask.
But according to the spec, option 93 should be an unsigned integer.
Bitte schreiben Sie Deutsch, when I'm responding in the German-speaking part of the forum!
Antworten