From 95e41a79f45e922af9c16d2afe5da30c73257382 Mon Sep 17 00:00:00 2001 From: lissav Date: Wed, 6 Feb 2013 19:44:34 +0000 Subject: [PATCH] fix defect 3362, a portion git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15079 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-server/lib/xcat/plugins/updatenode.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/xCAT-server/lib/xcat/plugins/updatenode.pm b/xCAT-server/lib/xcat/plugins/updatenode.pm index 3f575a5ac..75a65bcc1 100644 --- a/xCAT-server/lib/xcat/plugins/updatenode.pm +++ b/xCAT-server/lib/xcat/plugins/updatenode.pm @@ -1192,10 +1192,10 @@ sub updatenoderunps my $runpscmd; if ($::SETSERVER){ $runpscmd = - "$installdir/postscripts/xcatdsklspost $mode -M $snkey '$postscripts' --tftp $tftpdir --installdir $installdir --nfsv4 $nfsv4"; + "$installdir/postscripts/xcatdsklspost $mode -M $snkey '$postscripts' --tftp $tftpdir --installdir $installdir --nfsv4 $nfsv4 -c "; } else { $runpscmd = - "$installdir/postscripts/xcatdsklspost $mode -m $snkey '$postscripts' --tftp $tftpdir --installdir $installdir --nfsv4 $nfsv4" + "$installdir/postscripts/xcatdsklspost $mode -m $snkey '$postscripts' --tftp $tftpdir --installdir $installdir --nfsv4 $nfsv4 -c" } # if non-root userid ask xdsh to use sudo if (defined($::USER)){ # non-root user