Actions
Bug #30762
closedforeman-proxy ssh key is copied 3 times to the provisioned machine in /root/.ssh/authorized_keys
Difficulty:
trivial
Triaged:
No
Bugzilla link:
Description
The ssh key is copied several times to a new host when it is kickstarting.
<%= host_param('remote_execution_ssh_keys').is_a?(String) ? host_param('remote_execution_ssh_keys') : host_param('remote_execution_ssh_keys').join("\n") %>
needs to be:
<%= host_param('remote_execution_ssh_keys').is_a?(String) ? host_param('remote_execution_ssh_keys') : host_param('remote_execution_ssh_keys').uniq.join("\n") %>
Actions