2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-07-28 07:11:11 +00:00

put back stat option for rsetboot

This commit is contained in:
Victor Hu
2017-07-23 23:29:35 -04:00
parent e97523d790
commit a8bf700c68

View File

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