ci: enable linger
This commit is contained in:
parent
0338483e72
commit
ba3e6072d4
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"
|
||||||
|
|
||||||
|
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/
|
||||||
|
|
||||||
echo 'name = "out-of-tree script"' >> .out-of-tree.toml
|
echo 'name = "out-of-tree script"' >> .out-of-tree.toml
|
||||||
|
Loading…
Reference in New Issue
Block a user