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:
parent
193cb671ef
commit
e4d6816b0c
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user