summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--distbuild.configure2
1 files changed, 2 insertions, 0 deletions
diff --git a/distbuild.configure b/distbuild.configure
index e802206..31afc81 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