1
0

ci: switch to apt

This commit is contained in:
dump_stack() 2023-05-16 14:06:37 +00:00
parent 4e956d10ad
commit d8aafe081f
Signed by: dump_stack
GPG Key ID: BE44DA8C062D87DC

View File

@ -78,11 +78,8 @@ jobs:
sleep 1s sleep 1s
done done
ssh root@$IP "systemctl disable apt-daily.timer apt-daily-upgrade.timer update-notifier-download.timer" ssh root@$IP "apt update"
ssh root@$IP "systemctl stop apt-daily.service apt-daily-upgrade.service update-notifier-download.service" ssh root@$IP "apt install -y podman qemu-system-x86"
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 --shell /bin/bash user && mkdir -p /home/user/.ssh && cp /root/.ssh/authorized_keys /home/user/.ssh/ && chown -R user:user /home/user"