Fix erroneous extra BOOTIF in x86 netboot

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9477 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
jbjohnso 2011-05-03 15:33:34 +00:00
parent 7f7ea7c5ae
commit 04fc568623

View File

@ -643,7 +643,7 @@ sub mknetboot
} elsif ( $reshash->{$node}->[0] and $reshash->{$node}->[0]->{primarynic} and $reshash->{$node}->[0]->{primarynic} ne "mac") {
$kcmdline .= "netdev=" . $reshash->{$node}->[0]->{primarynic} . " ";
} else {
if ($mac) {
if ($useifname && $mac) {
$kcmdline .= "BOOTIF=" . $mac . " ";
}
}