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:
phamt 2011-10-13 23:05:43 +00:00
parent 4303f5cb4b
commit b0cd72a3ac

View File

@ -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;
}