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:
parent
2cf4c0e036
commit
7c313b96f4
@ -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"`;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user