2
0
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:
Casandra Qiu 2017-04-06 15:39:20 -04:00
parent c42a2fbe83
commit a943c20104
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 = {