ci: add to kvm group
This commit is contained in:
parent
a043b998ff
commit
2be8b14fc7
2
.github/workflows/e2e.yml
vendored
2
.github/workflows/e2e.yml
vendored
@ -84,7 +84,7 @@ jobs:
|
||||
ssh root@$IP "apt-get update"
|
||||
ssh root@$IP "apt-get install -y podman qemu-system-x86"
|
||||
|
||||
ssh root@$IP "useradd --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"
|
||||
|
||||
scp ./out-of-tree root@$IP:/usr/local/bin/
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user