reformat the request parameter and remove set the HOME env by force

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2995 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
daniceexi 2009-03-26 09:22:29 +00:00
parent 193cb671ef
commit e4d6816b0c

View File

@ -37,7 +37,7 @@ BEGIN
}
my $sleepint=int(rand(10)); #Stagger start to avoid overwhelming conserver/xCATd
use lib "$::XCATROOT/lib/perl";
$ENV{HOME}='/root/';
#$ENV{HOME}='/root/';
require xCAT::Client;
#require xCAT::Table;
@ -90,9 +90,9 @@ sub getans {
}
}
my $cmdref={
command=>"getbladecons",
arg=>"text",
noderange=>$ARGV[0]
command=>["getbladecons"],
arg=>["text"],
noderange=>[$ARGV[0]]
};
xCAT::Client::submit_request($cmdref,\&getans);
until ($mm and $username and $slot) {