mirror of
https://github.com/xcat2/xcat-core.git
synced 2025-05-29 17:23:08 +00:00
rcons command failed for openbmc
This commit is contained in:
parent
c42a2fbe83
commit
a943c20104
@ -316,6 +316,8 @@ sub parse_args {
|
||||
unless ($subcommand =~ /^cpu$|^dimm$|^bios$|^all$/) {
|
||||
return ([ 1, "Unsupported command: $command $subcommand" ]);
|
||||
}
|
||||
} elsif ($command eq "getopenbmccons") {
|
||||
#command for openbmc rcons
|
||||
} else {
|
||||
return ([ 1, "Command is not supported." ]);
|
||||
}
|
||||
|
@ -58,7 +58,6 @@ sub getans {
|
||||
my $error = $rsp->{node}->[0]->{error}->[0];
|
||||
print "$error\n";
|
||||
}
|
||||
print "$bmcip, $username, $password\n";
|
||||
}
|
||||
}
|
||||
my $cmdref = {
|
||||
|
Loading…
x
Reference in New Issue
Block a user