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:
		| @@ -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"`; | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user