Put public key in root's home folder

Fix the path for deploying the public SSH key into the cached image.

Change-Id: I2378cddea6d29f43684ff6060c6445bdf2e5f0ff
This commit is contained in:
Jimmy McCrory 2017-04-19 10:58:53 -07:00
parent 5237123e29
commit c6dda21cbc

View File

@ -88,7 +88,7 @@
- name: Deploy ssh public key into the cached image
lineinfile:
dest: "{{ lxc_image_cache_path }}/.ssh/authorized_keys"
dest: "{{ lxc_image_cache_path }}/root/.ssh/authorized_keys"
line: "{{ lxc_container_ssh_key }}"
create: true