Remove old SSH keys when cloning.

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7479 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
phamt 2010-09-16 18:57:44 +00:00
parent 2cf4c0e036
commit 7c313b96f4

View File

@ -2768,6 +2768,9 @@ EOM"`;
}
} # End of if ( $layer == 2 )
# Remove old SSH keys
$out = `ssh $hcp "rm -f $cloneMntPt/etc/ssh/ssh_host_*"`;
# Flush disk
$out = `ssh $hcp "sync"`;