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
This commit is contained in:
nott 2008-04-14 13:19:20 +00:00
parent 6f43387d95
commit 5ec3545c4e

View File

@ -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)
{