From 6f18f6c77940334abb652d93644bbee54799e5ad Mon Sep 17 00:00:00 2001 From: Mikhail Klementev Date: Tue, 16 May 2023 18:09:23 +0000 Subject: [PATCH] ci: add timeout before enable linger --- .github/workflows/e2e.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/e2e.yml b/.github/workflows/e2e.yml index db11753..12f127b 100644 --- a/.github/workflows/e2e.yml +++ b/.github/workflows/e2e.yml @@ -86,6 +86,8 @@ jobs: ssh root@$IP "useradd --groups kvm --shell /bin/bash user && mkdir -p /home/user/.ssh && cp /root/.ssh/authorized_keys /home/user/.ssh/ && chown -R user:user /home/user" + timeout 10s + ssh root@$IP "loginctl enable-linger user" scp ./out-of-tree root@$IP:/usr/local/bin/