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:
parent
155f9b681b
commit
d74bfd04d6
@ -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] });
|
||||
|
Loading…
x
Reference in New Issue
Block a user