-Fix bogus usage error on copycds when VMware media is involved
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4127 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
c43feab7c4
commit
7925af8fa8
@ -76,7 +76,6 @@ sub preprocess_request {
|
||||
my $vusername = "Administrator";
|
||||
my $vpassword = "";
|
||||
|
||||
xCAT::Common::usage_noderange($request,$callback);
|
||||
unless ($request) { return; }
|
||||
|
||||
if ($request->{command}->[0] eq 'copycd')
|
||||
@ -85,6 +84,7 @@ sub preprocess_request {
|
||||
}elsif($request->{command}->[0] eq 'mknetboot'){
|
||||
return [$request];
|
||||
}
|
||||
xCAT::Common::usage_noderange($request,$callback);
|
||||
|
||||
if ($request->{_xcatpreprocessed}->[0] == 1) { return [$request]; }
|
||||
# exit if preprocesses
|
||||
|
Loading…
Reference in New Issue
Block a user