summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarkos Chandras <mchandras@suse.de>2017-05-16 15:01:30 +0000
committerGerrit Code Review <gerrit@opnfv.org>2017-05-16 15:01:30 +0000
commitea72a904884b7fb933bebbaef78a5aa408b60acc (patch)
treedb16e57061df5248c9596b88e2b22a2ca16b4c1e
parent9620b4676471e8cd21890776f8573112cdd16282 (diff)
parentef93b1a9c4fb04f734b09e7532dbfbc81e942083 (diff)
Merge "prototypes: xci: Look for SSH keys in $HOME directory"
-rw-r--r--prototypes/xci/playbooks/configure-opnfvhost.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/prototypes/xci/playbooks/configure-opnfvhost.yml b/prototypes/xci/playbooks/configure-opnfvhost.yml
index af90c9dc0..8656ff9df 100644
--- a/prototypes/xci/playbooks/configure-opnfvhost.yml
+++ b/prototypes/xci/playbooks/configure-opnfvhost.yml
@@ -99,4 +99,4 @@
- name: Generate authorized_keys
shell: "/bin/cat {{ OPNFV_SSH_HOST_KEYS_PATH }}/opnfv/root/.ssh/id_rsa.pub >> ../file/authorized_keys"
- name: Append public keys to authorized_keys
- shell: "/bin/cat /root/.ssh/id_rsa.pub >> ../file/authorized_keys"
+ shell: "/bin/cat {{ ansible_env.HOME }}/.ssh/id_rsa.pub >> ../file/authorized_keys"