From a9068dbd0f384875cb4b091a4a947ef506a5e858 Mon Sep 17 00:00:00 2001 From: Arif Ali Date: Wed, 30 Apr 2014 09:56:21 +0100 Subject: [PATCH] Revert "temporary fix for postscripts for EXECUTE and EXECUTEALWAYS" This reverts commit 06cad710500fb3ce96a809e836da624bc374cdf2. --- perl-xCAT/xCAT/DSHCLI.pm | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/perl-xCAT/xCAT/DSHCLI.pm b/perl-xCAT/xCAT/DSHCLI.pm index b1a3c3e6a..44e6c6a9a 100644 --- a/perl-xCAT/xCAT/DSHCLI.pm +++ b/perl-xCAT/xCAT/DSHCLI.pm @@ -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}});