Revert "temporary fix for postscripts for EXECUTE and EXECUTEALWAYS"
This reverts commit 06cad71050
.
This commit is contained in:
parent
06cad71050
commit
a9068dbd0f
@ -5704,10 +5704,10 @@ sub run_rsync_postscripts
|
||||
push @args,"-e";
|
||||
# if on the service node need to add the $syncdir directory
|
||||
# to the path
|
||||
#if (xCAT::Utils->isServiceNode()) {
|
||||
# my $tmpp=$syncdir . $ps;
|
||||
# $ps=$tmpp;
|
||||
#}
|
||||
if (xCAT::Utils->isServiceNode()) {
|
||||
my $tmpp=$syncdir . $ps;
|
||||
$ps=$tmpp;
|
||||
}
|
||||
push @args,$ps;
|
||||
$out=xCAT::Utils->runxcmd( { command => ['xdsh'],
|
||||
node => \@nodes,
|
||||
@ -6039,10 +6039,10 @@ sub run_always_rsync_postscripts
|
||||
push @args,"-e";
|
||||
# if on the service node need to add the $syncdir directory
|
||||
# to the path
|
||||
#if (xCAT::Utils->isServiceNode()) {
|
||||
# my $tmpp=$syncdir . $ps;
|
||||
# $ps=$tmpp;
|
||||
#}
|
||||
if (xCAT::Utils->isServiceNode()) {
|
||||
my $tmpp=$syncdir . $ps;
|
||||
$ps=$tmpp;
|
||||
}
|
||||
push @args, $ps;
|
||||
|
||||
push (@nodes, @{$$dshparms{'postscripts'}{$ps}});
|
||||
|
Loading…
Reference in New Issue
Block a user