2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-05-31 10:06:39 +00:00

Merge pull request #2806 from cxhong/rcons

rcons command failed for openbmc
This commit is contained in:
zet809 2017-04-07 15:25:07 +08:00 committed by GitHub
commit f151606c61
2 changed files with 2 additions and 1 deletions

View File

@ -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." ]);
}

View File

@ -58,7 +58,6 @@ sub getans {
my $error = $rsp->{node}->[0]->{error}->[0];
print "$error\n";
}
print "$bmcip, $username, $password\n";
}
}
my $cmdref = {