mirror of
https://github.com/xcat2/xcat-core.git
synced 2025-06-13 01:40:26 +00:00
modify sshcfg
This commit is contained in:
@ -487,7 +487,8 @@ sub process_sshcfg {
|
||||
xCAT::SvrUtils::sendmsg($msg, $callback, $pdu, %allerrornodes);
|
||||
|
||||
#remove old host key from /root/.ssh/known_hosts
|
||||
$cmd = `ssh-keygen -R $pdu`;
|
||||
$cmd = "ssh-keygen -R $pdu";
|
||||
my $result = xCAT::Utils->runcmd($cmd, 0);
|
||||
|
||||
my $static_ip = $nodehash->{$pdu}->[0]->{ip};
|
||||
my $discover_ip = $nodehash->{$pdu}->[0]->{otherinterfaces};
|
||||
|
Reference in New Issue
Block a user