add message when public key is missing in the .ssh directory during xdsh -K
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4111 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
d3d3dc4597
commit
a11cbde49d
@ -1486,6 +1486,8 @@ sub cpSSHFiles
|
||||
|| !(-e "$home/.ssh/id_rsa.pub")
|
||||
|| !(-e "$home/.ssh/id_dsa.pub"))
|
||||
{
|
||||
$rsp->{data}->[0] = "A public key was missing in the .ssh directory.";
|
||||
xCAT::MsgUtils->message("E", $rsp, $::CALLBACK);
|
||||
return 1;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user