From 5c40f8d4a454f39a01d5fa3509e6e388795d8d3f Mon Sep 17 00:00:00 2001 From: Mikhail Klementev Date: Thu, 17 Oct 2024 17:30:11 +0000 Subject: [PATCH] ci: wait for cloud-init to finish --- .github/workflows/images-debian.yml | 3 +-- .github/workflows/images-oraclelinux.yml | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/.github/workflows/images-debian.yml b/.github/workflows/images-debian.yml index b544443..53aa6ca 100644 --- a/.github/workflows/images-debian.yml +++ b/.github/workflows/images-debian.yml @@ -40,8 +40,7 @@ jobs: sleep 1s done - sleep 5m - ssh root@$IP pkill apt-get || true + ssh root@$IP "cloud-init status --wait" ssh root@$IP apt-get update ssh root@$IP apt-get install -y git podman s3cmd diff --git a/.github/workflows/images-oraclelinux.yml b/.github/workflows/images-oraclelinux.yml index 1ecfda4..0fc6e7b 100644 --- a/.github/workflows/images-oraclelinux.yml +++ b/.github/workflows/images-oraclelinux.yml @@ -40,8 +40,7 @@ jobs: sleep 1s done - sleep 5m - ssh root@$IP pkill apt-get || true + ssh root@$IP "cloud-init status --wait" ssh root@$IP apt-get update ssh root@$IP apt-get install -y git podman s3cmd