1
0

ci: add timeout before enable linger

This commit is contained in:
dump_stack() 2023-05-16 18:09:23 +00:00
parent 66026ebf5a
commit 6f18f6c779
Signed by: dump_stack
GPG Key ID: BE44DA8C062D87DC

View File

@ -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" 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" ssh root@$IP "loginctl enable-linger user"
scp ./out-of-tree root@$IP:/usr/local/bin/ scp ./out-of-tree root@$IP:/usr/local/bin/