Comment 2 for bug 1152713

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to nova (master)

Reviewed: https://review.openstack.org/23948
Committed: http://github.com/openstack/nova/commit/fff0f422f647b689bb9a62b1eff2203354a9f885
Submitter: Jenkins
Branch: master

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.

    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: I190c6b3f67099061b5316baa45b8bfcd1a5e53f6