summaryrefslogtreecommitdiff
path: root/conf
diff options
context:
space:
mode:
Diffstat (limited to 'conf')
-rwxr-xr-xconf/default.conf6
1 files changed, 6 insertions, 0 deletions
diff --git a/conf/default.conf b/conf/default.conf
index 6db259d..94ef1db 100755
--- a/conf/default.conf
+++ b/conf/default.conf
@@ -58,3 +58,9 @@ for repo in "${!repo_paths[@]}"; do
fi
done
+
+if [ "${master_build_server_identity}" == "${work_dir}/.ssh/id_rsa" ] && \
+ [ ! -f "${master_build_server_identity}" ]; then
+ mkdir -p "${master_build_server_identity%/*}"
+ ssh-keygen -b4096 -f "${master_build_server_identity}"
+fi