Change invocation for esxi5 tar

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9386 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
jbjohnso 2011-04-22 18:14:41 +00:00
parent b37c6a3634
commit 7de37672ff

View File

@ -3864,7 +3864,7 @@ sub makecustomizedmod {
if (-e "$dest/$modname") {
unlink("$dest/$modname");
}
if ($dossh) {
if ($dossh and $osver =~ /esxi4/) {
system("tar czf $dest/$modname * .ssh");
} else {
system("tar czf $dest/$modname *");