2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-05-22 11:42:05 +00:00

Fix rinv support for dimm

This commit is contained in:
Jarrod Johnson 2017-01-18 14:28:00 -05:00
parent 155f9b681b
commit d74bfd04d6

View File

@ -2566,6 +2566,9 @@ sub inv {
$sessdata->{skipfru} = 1; #full fru read is expensive, skip it
@types = qw(guid);
}
elsif ($subcommand eq "hw" or $subcommand eq "dimm" or $subcommand eq "misc") {
@types = ($subcommand);
}
else {
my $usage_string = xCAT::Usage->getUsage($command);
$callback->({ error => ["$usage_string"], errorcode => [1] });