From c6dda21cbc5569623812afe3c021045f6d72fb31 Mon Sep 17 00:00:00 2001 From: Jimmy McCrory Date: Wed, 19 Apr 2017 10:58:53 -0700 Subject: [PATCH] Put public key in root's home folder Fix the path for deploying the public SSH key into the cached image. Change-Id: I2378cddea6d29f43684ff6060c6445bdf2e5f0ff --- tasks/lxc_cache_preparation.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tasks/lxc_cache_preparation.yml b/tasks/lxc_cache_preparation.yml index eaa0118d..627b5991 100644 --- a/tasks/lxc_cache_preparation.yml +++ b/tasks/lxc_cache_preparation.yml @@ -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