Project

General

Profile

Actions

Bug #30762

closed

foreman-proxy ssh key is copied 3 times to the provisioned machine in /root/.ssh/authorized_keys

Added by Stefan Meyer over 4 years ago. Updated about 4 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
-
Target version:
-
Difficulty:
trivial
Triaged:
No
Found in Releases:

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

Also available in: Atom PDF