From fdcbdcc71ec9d6e51d79585bf0765d93e88be4d0 Mon Sep 17 00:00:00 2001 From: Brian Cook Date: Thu, 27 Jun 2024 15:21:06 -0400 Subject: [PATCH] try adding keepalives --- task/build-vm-image/0.1/build-vm-image.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/task/build-vm-image/0.1/build-vm-image.yaml b/task/build-vm-image/0.1/build-vm-image.yaml index 38b8426d84..0855d55e7e 100644 --- a/task/build-vm-image/0.1/build-vm-image.yaml +++ b/task/build-vm-image/0.1/build-vm-image.yaml @@ -105,7 +105,7 @@ spec: chmod 0400 ~/.ssh/id_rsa export SSH_HOST=$(cat /ssh/host) export BUILD_DIR=$(cat /ssh/user-dir) - export SSH_ARGS="-o StrictHostKeyChecking=no" + export SSH_ARGS="-o StrictHostKeyChecking=no -o ServerAliveInterval=60 -o ServerAliveCountMax=180" mkdir -p scripts echo "$BUILD_DIR" ssh -v $SSH_ARGS "$SSH_HOST" mkdir -p "$BUILD_DIR/workspaces" "$BUILD_DIR/scripts" "$BUILD_DIR/tmp" "$BUILD_DIR/tekton-results"