2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-09-03 00:38:18 +00:00

Add support for modern iPXE client arch for uefi

iPXE moved from 9 to 7 a long time ago.
This commit is contained in:
Jarrod Johnson
2019-08-07 13:49:55 -04:00
parent 61e55bb263
commit 5d697b5c5c

View File

@@ -2781,6 +2781,8 @@ sub addnet
push @netent, " filename = \"http://$tftp$httpport/tftpboot/xcat/xnba/nets/" . $net . "_" . $maskbits . "\";\n";
push @netent, " } else if option user-class-identifier = \"xNBA\" and option client-architecture = 00:09 { #x86, xCAT Network Boot Agent\n";
push @netent, " filename = \"http://$tftp$httpport/tftpboot/xcat/xnba/nets/" . $net . "_" . $maskbits . ".uefi\";\n";
push @netent, " } else if option user-class-identifier = \"xNBA\" and option client-architecture = 00:07 { #x86, xCAT Network Boot Agent\n";
push @netent, " filename = \"http://$tftp$httpport/tftpboot/xcat/xnba/nets/" . $net . "_" . $maskbits . ".uefi\";\n";
push @netent, " } else if option client-architecture = 00:00 { #x86\n";
push @netent, " filename \"xcat/xnba.kpxe\";\n";
push @netent, " } else if option vendor-class-identifier = \"Etherboot-5.4\" { #x86\n";