-Avoid telling a non-PXE compliant client to download undionly.kpxe (Etherboot, ironically, hangs when told to do this)
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2473 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
e11fc2c3b4
commit
290cc8d22d
@ -231,7 +231,7 @@ sub addnode
|
||||
if ($nrent and $nrent->{netboot} and $nrent->{netboot} eq 'pxe') {
|
||||
if (-f "$tftpdir/undionly.kpxe") {
|
||||
if ($chainent and $chainent->{currstate} and $chainent->{currstate} eq 'iscsiboot') {
|
||||
$lstatements = 'if exists gpxe.bus-id { filename = \"\"; } else { filename = \"undionly.kpxe\"; } '.$lstatements;
|
||||
$lstatements = 'if exists gpxe.bus-id { filename = \"\"; } else if exists client-architecture { filename = \"undionly.kpxe\"; } '.$lstatements;
|
||||
} else {
|
||||
$lstatements = 'if exists gpxe.bus-id { filename = \"pxelinux.0\"; } else if exists client-architecture { filename = \"undionly.kpxe\"; } '.$lstatements; #Only PXE compliant clients should ever receive gPXE
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user