From 696b65ae36edd914501eb349f1d3f2638aec2872 Mon Sep 17 00:00:00 2001
From: Incardona Pietro <incardon@mpi-cbg.de>
Date: Wed, 8 Sep 2021 10:02:02 +0200
Subject: [PATCH] Add key to known_hosts

---
 build.sh | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/build.sh b/build.sh
index c3ad1f1b1..161be5b80 100755
--- a/build.sh
+++ b/build.sh
@@ -20,6 +20,8 @@ echo "compilation type: $comp_type"
 echo "Branch name: $branch"
 echo "GPU compilation: $with_gpu"
 
+ssh-keyscan -H gitlab.mpi-cbg.de >> ~/.ssh/known_hosts
+
 if [ x"$hostname" == x"cifarm-centos-node.mpi-cbg.de"  ]; then
 	echo "CentOS node"
 	source /opt/rh/devtoolset-8/enable
-- 
GitLab