check networks table instead of installnic to determine it is booting from hfi

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11568 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
wanghuaz 2012-02-14 03:01:42 +00:00
parent 6ce517a511
commit 49d4c0a395

View File

@ -640,7 +640,8 @@ sub mknetboot
}
}
if ( grep /hf/, $reshash->{$node}->[0]->{installnic} )
my %client_nethash = xCAT::DBobjUtils->getNetwkInfo( [$node] );
if ( $client_nethash{$node}{mgtifname} =~ /hf/ )
{
$kcmdline .= "rdloaddriver=hf_if ";
}