From a8bf700c68c88abfad07927fdc614f6771dabd9a Mon Sep 17 00:00:00 2001 From: Victor Hu Date: Sun, 23 Jul 2017 23:29:35 -0400 Subject: [PATCH] put back stat option for rsetboot --- xCAT-server/lib/xcat/plugins/openbmc.pm | 1 + 1 file changed, 1 insertion(+) diff --git a/xCAT-server/lib/xcat/plugins/openbmc.pm b/xCAT-server/lib/xcat/plugins/openbmc.pm index a33b14318..229555314 100644 --- a/xCAT-server/lib/xcat/plugins/openbmc.pm +++ b/xCAT-server/lib/xcat/plugins/openbmc.pm @@ -508,6 +508,7 @@ sub parse_args { } elsif ($command eq "getopenbmccons") { # command for openbmc rcons } elsif ($command eq "rsetboot") { + $subcommand = "stat" if (!defined($ARGV[0])); unless ($subcommand =~ /^net$|^hd$|^cd$|^def$|^default$|^stat$/) { return ([ 1, "Unsupported command: $command $subcommand" ]); }