From 7925af8fa8d7af8d897be7b7eef1429569a128f0 Mon Sep 17 00:00:00 2001 From: jbjohnso Date: Mon, 14 Sep 2009 13:04:01 +0000 Subject: [PATCH] -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 --- xCAT-server/lib/xcat/plugins/esx.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xCAT-server/lib/xcat/plugins/esx.pm b/xCAT-server/lib/xcat/plugins/esx.pm index 305e1f648..a9eb6f98a 100644 --- a/xCAT-server/lib/xcat/plugins/esx.pm +++ b/xCAT-server/lib/xcat/plugins/esx.pm @@ -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