From d8aafe081ff0b3dbd460e678c73d9abb5df07008 Mon Sep 17 00:00:00 2001 From: Mikhail Klementev Date: Tue, 16 May 2023 14:06:37 +0000 Subject: [PATCH] ci: switch to apt --- .github/workflows/e2e.yml | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/.github/workflows/e2e.yml b/.github/workflows/e2e.yml index 751082e..76731cf 100644 --- a/.github/workflows/e2e.yml +++ b/.github/workflows/e2e.yml @@ -78,11 +78,8 @@ jobs: sleep 1s done - ssh root@$IP "systemctl disable apt-daily.timer apt-daily-upgrade.timer update-notifier-download.timer" - ssh root@$IP "systemctl stop apt-daily.service apt-daily-upgrade.service update-notifier-download.service" - - ssh root@$IP "apt-get update" - ssh root@$IP "apt-get install -y podman qemu-system-x86" + ssh root@$IP "apt update" + ssh root@$IP "apt 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"