Fix problem where some BIOS boots require broadcast response and iPXE is

just too optimistic on the whole situation.

Had considered changing iPXE code, but easier to switch behavior in dhcp server,
as an iPXE change impacts UEFI boot which all tests indicates being ok with unicast

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11564 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
jbjohnso 2012-02-13 16:00:15 +00:00
parent ecd29fc982
commit 0cd91682cc

View File

@ -1873,6 +1873,7 @@ sub addnet
# $lstatements = 'if exists gpxe.bus-id { filename = \"\"; } else if exists client-architecture { filename = \"xcat/xnba.kpxe\"; } '.$lstatements;
push @netent, " if option user-class-identifier = \"xNBA\" and option client-architecture = 00:00 { #x86, xCAT Network Boot Agent\n";
push @netent, " always-broadcast on;\n";
push @netent, " filename = \"http://$tftp/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/tftpboot/xcat/xnba/nets/".$net."_".$maskbits.".uefi\";\n";