From e4d6816b0ce7d14fc9852259da2e8160608a2eac Mon Sep 17 00:00:00 2001 From: daniceexi Date: Thu, 26 Mar 2009 09:22:29 +0000 Subject: [PATCH] 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 --- xCAT-server/share/xcat/cons/blade | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/xCAT-server/share/xcat/cons/blade b/xCAT-server/share/xcat/cons/blade index fa42a20cd..7f1a56bb2 100755 --- a/xCAT-server/share/xcat/cons/blade +++ b/xCAT-server/share/xcat/cons/blade @@ -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) {