mirror of
https://github.com/xcat2/xcat-core.git
synced 2025-07-28 15:21:11 +00:00
put back stat option for rsetboot
This commit is contained in:
@@ -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" ]);
|
||||
}
|
||||
|
Reference in New Issue
Block a user