Skip to content

Commit

Permalink
remark
Browse files Browse the repository at this point in the history
  • Loading branch information
kwaegema committed Nov 30, 2015
1 parent 7dd1e1c commit c9071d9
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion ncm-ceph/src/main/perl/Ceph/commands.pm
Expand Up @@ -162,7 +162,10 @@ sub ssh_known_keys {
$cmd = ['/usr/bin/ssh-keyscan', $host];
my $key = $self->run_command_as_ceph($cmd);
my $fh = CAF::FileEditor->open("$cephusr->{homeDir}/.ssh/known_hosts",
log => $self, owner => $cephusr->{uid}, group => $cephusr->{gid} );
log => $self,
owner => $cephusr->{uid},
group => $cephusr->{gid},
);
$fh->head_print($key);
$fh->close();
}
Expand Down

0 comments on commit c9071d9

Please sign in to comment.