fix repeated errors Request matched no policy rule: getbladecon

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3043 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
lissav 2009-03-30 12:21:48 +00:00
parent 6993dc7dba
commit 391b97d194

View File

@ -37,7 +37,11 @@ BEGIN
}
my $sleepint=int(rand(10)); #Stagger start to avoid overwhelming conserver/xCATd
use lib "$::XCATROOT/lib/perl";
$ENV{HOME}='/root/';
if ($^O =~ /^linux/i){
$ENV{HOME}='/root/';
} else {
$ENV{HOME}='/';
}
require xCAT::Client;
#require xCAT::Table;