diff --git a/xCAT-server/lib/xcat/plugins/openbmc.pm b/xCAT-server/lib/xcat/plugins/openbmc.pm index e72e412e4..b4107e68c 100644 --- a/xCAT-server/lib/xcat/plugins/openbmc.pm +++ b/xCAT-server/lib/xcat/plugins/openbmc.pm @@ -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." ]); } diff --git a/xCAT-server/share/xcat/cons/openbmc b/xCAT-server/share/xcat/cons/openbmc index 172bb272e..6d166a7d9 100755 --- a/xCAT-server/share/xcat/cons/openbmc +++ b/xCAT-server/share/xcat/cons/openbmc @@ -58,7 +58,6 @@ sub getans { my $error = $rsp->{node}->[0]->{error}->[0]; print "$error\n"; } - print "$bmcip, $username, $password\n"; } } my $cmdref = {