Removed hostname from known_hosts file after rmvm.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10767 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
		| @@ -549,6 +549,9 @@ sub removeVM { | ||||
| 	xCAT::zvmUtils->delTabEntry( 'noderes',  'node', $node ); | ||||
| 	xCAT::zvmUtils->delTabEntry( 'nodehm',   'node', $node ); | ||||
|  | ||||
| 	# Remove old hostname from known_hosts | ||||
| 	$out = `ssh-keygen -R $node`; | ||||
|  | ||||
| 	return; | ||||
| } | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user