1
0

ci: add to kvm group

This commit is contained in:
dump_stack() 2023-05-16 16:03:38 +00:00
parent a043b998ff
commit 2be8b14fc7
Signed by: dump_stack
GPG Key ID: BE44DA8C062D87DC

View File

@ -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/