ci: add timeout before enable linger
This commit is contained in:
parent
66026ebf5a
commit
6f18f6c779
2
.github/workflows/e2e.yml
vendored
2
.github/workflows/e2e.yml
vendored
@ -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/
|
||||||
|
Loading…
Reference in New Issue
Block a user