commit fff0f422f647b689bb9a62b1eff2203354a9f885
Author: Chris Behrens <email address hidden>
Date: Fri Mar 8 10:47:39 2013 -0800
Make ssh key injection work with xenapi agent
If there's 'key_data' on an instance, and instance is not Windows, use
file injection to inject /root/.ssh/authorized_keys. If a user
specifies their own /root/.ssh/authorized_keys via 'injected files',
that will take precedence.
Reviewed: https:/ /review. openstack. org/23948 github. com/openstack/ nova/commit/ fff0f422f647b68 9bb9a62b1eff220 3354a9f885
Committed: http://
Submitter: Jenkins
Branch: master
commit fff0f422f647b68 9bb9a62b1eff220 3354a9f885
Author: Chris Behrens <email address hidden>
Date: Fri Mar 8 10:47:39 2013 -0800
Make ssh key injection work with xenapi agent
If there's 'key_data' on an instance, and instance is not Windows, use ssh/authorized_ keys. If a user ssh/authorized_ keys via 'injected files',
file injection to inject /root/.
specifies their own /root/.
that will take precedence.
Fixes bug 1152713
Note: Images for Xen that use nova-agent will need to have /root/.ssh
pre-created with modes 0700 on those directories.
DocImpact
Change-Id: I190c6b3f670990 61b5316baa45b8b fcd1a5e53f6