add full path to litetree call

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7776 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
nott 2010-10-07 16:29:54 +00:00
parent 9aed282f82
commit 551cde5ef9

View File

@ -908,7 +908,7 @@ sub dolitesetup
return 1;
}
my @filelist = xCAT::Utils->runcmd("litefile $noderange", -1);
my @filelist = xCAT::Utils->runcmd("/opt/xcat/bin/litefile $noderange", -1);
foreach my $l (@filelist) {
$l =~ s/://g; # remove ":"'s
$l =~ s/\s+/|/g; # change separator to "|"
@ -925,7 +925,7 @@ sub dolitesetup
xCAT::MsgUtils->message("E", $rsp, $callback);
return 1;
}
my @treelist = xCAT::Utils->runcmd("litetree $noderange", -1);
my @treelist = xCAT::Utils->runcmd("/opt/xcat/bin/litetree $noderange", -1);
foreach my $l (@treelist) {
my ($p, $serv, $dir) = split (/:/, $l);