diff --git a/xCAT-server/lib/xcat/plugins/esx.pm b/xCAT-server/lib/xcat/plugins/esx.pm index 80556c659..aa92a81b0 100644 --- a/xCAT-server/lib/xcat/plugins/esx.pm +++ b/xCAT-server/lib/xcat/plugins/esx.pm @@ -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 *");