diff options
author | Richard Ipsum <richard.ipsum@codethink.co.uk> | 2014-03-28 16:14:24 +0000 |
---|---|---|
committer | Richard Ipsum <richard.ipsum@codethink.co.uk> | 2014-03-28 16:34:55 +0000 |
commit | 0d2438048f6aef751c811dca29609198fc5cbad9 (patch) | |
tree | 1d80c124ad7e085db46814754c89bd80d09a8e97 | |
parent | 1237487daa3515ee9687b2aa4abcc0ff3b7c52dd (diff) | |
download | definitions-0d2438048f6aef751c811dca29609198fc5cbad9.tar.gz |
Make distbuild config extension generate known_hosts filebaserock/richardipsum/distbuild-with-setup2_br
-rw-r--r-- | distbuild.configure | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/distbuild.configure b/distbuild.configure index e8022062..31afc813 100644 --- a/distbuild.configure +++ b/distbuild.configure @@ -156,4 +156,6 @@ mkdir -p "$1/root/.ssh" install -m 0600 "$WORKER_SSH_KEY" "$1/root/.ssh/id_rsa" install -m 0644 "${WORKER_SSH_KEY}.pub" "$1/root/.ssh/id_rsa.pub" +# Add trove's host key +ssh-keyscan -t dsa,ecdsa,rsa "$TROVE_ID" >> "$1/root/.ssh/known_hosts" fi |