1
0

ci: switch to apt

This commit is contained in:
dump_stack() 2023-05-16 14:18:14 +00:00
parent 67630e080b
commit a49d705846
Signed by: dump_stack
GPG Key ID: BE44DA8C062D87DC

View File

@ -78,8 +78,8 @@ jobs:
sleep 1s sleep 1s
done done
ssh root@$IP "apt-get -o DPkg::Lock::Timeout=360 update" ssh root@$IP "apt -o 'DPkg::Lock::Timeout=360' update"
ssh root@$IP "apt-get -o DPkg::Lock::Timeout=360 install -y podman qemu-system-x86" ssh root@$IP "apt -o 'DPkg::Lock::Timeout=360' 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 --shell /bin/bash user && mkdir -p /home/user/.ssh && cp /root/.ssh/authorized_keys /home/user/.ssh/ && chown -R user:user /home/user"