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 3 years ago. Updated over 3 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 #1

Updated by The Foreman Bot over 3 years ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/theforeman/foreman/pull/7954 added
Actions #2

Updated by Tomer Brisker over 3 years ago

  • Project changed from Foreman to Foreman Remote Execution
  • Category deleted (Authentication)
  • Assignee changed from Stefan Meyer to Adam Ruzicka
  • Pull request https://github.com/theforeman/foreman_remote_execution/pull/532 added
  • Pull request deleted (https://github.com/theforeman/foreman/pull/7954)
Actions #3

Updated by The Foreman Bot over 3 years ago

  • Fixed in Releases added
Actions #4

Updated by Adam Ruzicka over 3 years ago

  • Status changed from Ready For Testing to Closed
Actions #5

Updated by Adam Ruzicka over 3 years ago

  • Fixed in Releases foreman_remote_execution 4.2.0 added
  • Fixed in Releases deleted ()
Actions

Also available in: Atom PDF