diff --git a/xCAT-server/share/xcat/cons/blade b/xCAT-server/share/xcat/cons/blade index 6bcce2e21..e0dc77167 100755 --- a/xCAT-server/share/xcat/cons/blade +++ b/xCAT-server/share/xcat/cons/blade @@ -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;