Merge ~otubo/cloud-init:multiple-ssh-keys into cloud-init:master
Proposed by
Eduardo Otubo
Status: | Work in progress |
---|---|
Proposed branch: | ~otubo/cloud-init:multiple-ssh-keys |
Merge into: | cloud-init:master |
Diff against target: |
73 lines (+24/-19) 1 file modified
cloudinit/ssh_util.py (+24/-19) |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Server Team CI bot | continuous-integration | Needs Fixing | |
Eduardo Otubo (community) | review | Needs Information | |
Scott Moser | Pending | ||
Review via email: mp+372981@code.launchpad.net |
Commit message
Multiple file fix for AuthorizedKeysFile config
Currently cloud-init does not know how to handle multiple file
configuration on section AuthorizedKeysFile of ssh configuration.
cloud-init will mess up the home user directory by creating bogus
folders inside it.
This patch provides a fix for this erroneous behavior. It gathers all
keys from all the files listed on the section AuthorizedKeysFile of ssh
configuration and merge all of them inside home user
~/.ssh/
To post a comment you must log in.
https:/ /bugzilla. redhat. com/show_ bug.cgi? id=1642008