From 49d4c0a395374c1d5ec155f7dd2568ab8bdbfad3 Mon Sep 17 00:00:00 2001 From: wanghuaz Date: Tue, 14 Feb 2012 03:01:42 +0000 Subject: [PATCH] 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 --- xCAT-server/lib/xcat/plugins/anaconda.pm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/xCAT-server/lib/xcat/plugins/anaconda.pm b/xCAT-server/lib/xcat/plugins/anaconda.pm index 8f67292b0..c29ffe544 100644 --- a/xCAT-server/lib/xcat/plugins/anaconda.pm +++ b/xCAT-server/lib/xcat/plugins/anaconda.pm @@ -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 "; }