Have IPMI plugin make a better effort in the face of an unkown system

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@732 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
jbjohnso 2008-03-07 21:43:45 +00:00
parent 8a629436e6
commit b1fe0bff15

View File

@ -1579,6 +1579,23 @@ return(2,"");
return(2,"");
}
my $serial = "unkown";
my $model = "unkown";
my $fru = FRU->new();
$fru->rec_type("serial");
$fru->desc("Serial Number");
$fru->value($serial);
$fru_hash{1} = $fru;
$fru = FRU->new();
$fru->rec_type("model");
$fru->desc("Model Number");
$fru->value($model);
$fru_hash{2} = $fru;
return(2,"");
return(1,"No OEM FRU Support");
}