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:
parent
8a629436e6
commit
b1fe0bff15
@ -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");
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user