xdsh -K support (still need to do hierarchy)

This commit is contained in:
lissav 2014-02-24 11:48:44 -05:00
parent 18a8fd1476
commit 1a5d650be8

View File

@ -731,26 +731,6 @@ sub sendkeysTOzones
return (0);
}
#-------------------------------------------------------------------------------
=head3 GetNodeOSARCH
# strip off .ssh
my ($newhome,$ssh) = (split(/\/\.ssh/, $keydir));
$ENV{'DSH_FROM_USERID_HOME'} =$newhome ;
# send the keys to the nodes
my $rc=xCAT::RemoteShellExp->remoteshellexp("s",$::CALLBACK,"/usr/bin/ssh",$zonenodelist,$expecttimeout);
if ($rc != 0)
{
$rsp->{data}->[0] = "remoteshellexp failed sending keys to $zonename.";
xCAT::MsgUtils->message("E", $rsp, $::CALLBACK);
}
} # endforeach zone
return 0;
}
#--------------------------------------------------------------------------------
=head3 cpSSHFiles