From 7d71f1b29c0ba98dfac46c23f99b56e5891116cb Mon Sep 17 00:00:00 2001 From: Erki Aas Date: Thu, 5 Dec 2024 19:49:22 +0200 Subject: [PATCH] fix rosdump --- rosdump/application.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/rosdump/application.yml b/rosdump/application.yml index ec1ba80..202afe5 100644 --- a/rosdump/application.yml +++ b/rosdump/application.yml @@ -6,6 +6,10 @@ data: script.sh: | #!/bin/bash set -e + mkdir -p /root/.ssh + cp /config/ssh_identity /root/.ssh/id_ecdsa + chmod 600 /root/.ssh/id_ed25519 + sleep 100 if [ -d rosdump ]; then echo "Pulling Git repo" cd rosdump @@ -58,7 +62,7 @@ spec: image: codemowers/git imagePullPolicy: IfNotPresent args: - - bash + - sh - /config/script.sh volumeMounts: - name: config