1
0

ci: switch to apt-get with 360 seconds timeout

This commit is contained in:
dump_stack() 2023-05-16 14:11:51 +00:00
parent d8aafe081f
commit a855a6e70c
Signed by: dump_stack
GPG Key ID: BE44DA8C062D87DC

View File

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