Password and SSH key injection

Configure nova to use libvirt for injecting

Libvirt relies on libguestfs-tools in order to inject passwords and SSH keys into /root/.authorized_keys.

Make sure you install this package on your compute node.

apt-get install libguestfs-tools

This tool expects the image kernel to have read permission for all users.

chmod 644 /boot/vmlinuz*

nova configuration

Edit /etc/nova/nova.conf and under [libvirt] section, you need to add:

inject_partition = -1
inject_password = True
inject_key = True

Config drive

Not yet supported