mirror of
https://github.com/xcat2/xcat-core.git
synced 2025-06-24 15:05:36 +00:00
remove install/netboot/statelite related flags from rmimage, liteimg and rinstall
This commit is contained in:
@ -412,18 +412,13 @@ sub usage
|
||||
my $rsp = {};
|
||||
$rsp->{data}->[0] = "$command usage:";
|
||||
if ($command =~ /rinstall/) {
|
||||
$rsp->{data}->[1] = " [-o|--osver] [-p|--profile] [-a|--arch] [-c|--console] <noderange>";
|
||||
} else { # winstall
|
||||
$rsp->{data}->[1] = " [-o|--osver] [-p|--profile] [-a|--arch] <noderange>";
|
||||
}
|
||||
if ($command =~ /rinstall/) {
|
||||
$rsp->{data}->[2] = " [-O|--osimage] [-c|--console] <noderange>";
|
||||
$rsp->{data}->[1] = " [-O|--osimage] [-c|--console] <noderange>";
|
||||
} else { # wininstall
|
||||
$rsp->{data}->[2] = " [-O|--osimage] <noderange>";
|
||||
$rsp->{data}->[1] = " [-O|--osimage] <noderange>";
|
||||
}
|
||||
|
||||
$rsp->{data}->[3] = " [-h|--help]";
|
||||
$rsp->{data}->[4] = " [-v|--version]";
|
||||
$rsp->{data}->[2] = " [-h|--help]";
|
||||
$rsp->{data}->[3] = " [-v|--version]";
|
||||
xCAT::MsgUtils->message("I", $rsp, $callback);
|
||||
}
|
||||
|
||||
|
@ -30,7 +30,7 @@ sub process_request {
|
||||
my $installroot = xCAT::TableUtils->getInstallDir();
|
||||
my $tftproot = xCAT::TableUtils->getTftpDir();
|
||||
|
||||
my $usage = "\nUsage:\n rmimage [-h | --help]\n rmimage [-V | --verbose] -o <OS> -a <architecture> -p <profile>\n rmimage [-V | --verbose] imagename [--xcatde]";
|
||||
my $usage = "\nUsage:\n rmimage [-h | --help]\n rmimage [-V | --verbose] imagename [--xcatde]";
|
||||
|
||||
@ARGV = @{$request->{arg}};
|
||||
|
||||
|
Reference in New Issue
Block a user