diff --git a/scripts/devtest_testenv.sh b/scripts/devtest_testenv.sh index 59de5db7..1e486184 100755 --- a/scripts/devtest_testenv.sh +++ b/scripts/devtest_testenv.sh @@ -231,7 +231,7 @@ fi # make the local id_rsa_virt_power.pub be in ``.ssh/authorized_keys`` before # that is copied into images via ``local-config`` if ! grep -qF "$(cat ${SSH_KEY}.pub)" ~/.ssh/authorized_keys; then - cat ~/.ssh/id_rsa_virt_power.pub >> ~/.ssh/authorized_keys + cat ${SSH_KEY}.pub >> ~/.ssh/authorized_keys chmod 0600 ~/.ssh/authorized_keys fi