From 5ec3545c4ec74cef39788e6248d2ef76b41d1615 Mon Sep 17 00:00:00 2001 From: nott Date: Mon, 14 Apr 2008 13:19:20 +0000 Subject: [PATCH] Change postcript tar file to gz instead of bz2 so node doesn't need bzip2 installed. (in create_postscripts_tar) git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@1040 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- perl-xCAT-2.0/xCAT/Utils.pm | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/perl-xCAT-2.0/xCAT/Utils.pm b/perl-xCAT-2.0/xCAT/Utils.pm index a3fe0c178..4e92663e3 100644 --- a/perl-xCAT-2.0/xCAT/Utils.pm +++ b/perl-xCAT-2.0/xCAT/Utils.pm @@ -1788,8 +1788,7 @@ sub create_postscripts_tar mkdir("/install/autoinst"); } - $cmd = - "cd /install/postscripts;tar -cjf /install/autoinst/xcatpost.tar.bz2 * .ssh/*"; + $cmd = "cd /install/postscripts; tar -cf /install/autoinst/xcatpost.tar * .ssh/*; gzip /install/autoinst/xcatpost.tar"; my @result = xCAT::Utils->runcmd($cmd, 0); if ($::RUNCMD_RC != 0) {