From 06cad710500fb3ce96a809e836da624bc374cdf2 Mon Sep 17 00:00:00 2001 From: Arif Ali Date: Tue, 29 Apr 2014 07:45:15 +0100 Subject: [PATCH] temporary fix for postscripts for EXECUTE and EXECUTEALWAYS --- 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 44e6c6a9a..b1a3c3e6a 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}});