From 8d0941b406947d0be3b2c9a0783b2b065b26f430 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..293ea5a 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 | grep done" 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..d8cfbcc 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 | grep done" ssh root@$IP apt-get update ssh root@$IP apt-get install -y git podman s3cmd