Bug #17323

Use compute resource certificate to allow SSH provisioning

Added by Daniel Lobato Garcia over 1 year ago. Updated 5 days ago.

Status:Closed
Priority:Normal
Assignee:Daniel Lobato Garcia
Category:-
Target version:1.4.3
Difficulty: Team Backlog:
Triaged: Fixed in Releases:
Bugzilla link: Found in Releases:
Pull request:https://github.com/theforeman/foreman_azure/pull/8

Description

Problem:

SSH provisioning does not work. Only PXE provisioning is possible through smart proxies in an Azure network.
The reason is that the setSSHWaitForResponse does not come with support for using keys other than the foreman user ones.

Solution:

The certificate passed on to the Azure compute resource can be used to SSH provision these machines as soon as they get a public IP.
The vm_user attribute that's passed on to Azure via fog will be the username, and sudo is allowed in most Azure images.

Associated revisions

Revision d48167ca
Added by Daniel Lobato García over 1 year ago

Fixes #17323 - Allow SSH provisioning with CR cert

Problem:

SSH provisioning does not work. Only PXE provisioning is possible
through smart proxies in an Azure network.
The reason is that the setSSHWaitForResponse does not come with support
for using keys other than the foreman user ones.

Solution:

The certificate passed on to the Azure compute resource can be used to
SSH provision these machines as soon as they get a public IP.
The vm_user attribute that's passed on to Azure via fog will be the
username, and sudo is allowed in most Azure images.

History

#1 Updated by Daniel Lobato Garcia over 1 year ago

  • Status changed from New to Closed
  • Assignee set to Daniel Lobato Garcia
  • Pull request https://github.com/theforeman/foreman_azure/pull/8 added

#2 Updated by Daniel Lobato Garcia over 1 year ago

  • Target version set to 1.4.3

Also available in: Atom PDF