From c68b171ea4d57a46d72f7ad10418ee6a9e5c2c68 Mon Sep 17 00:00:00 2001 From: "Jason N." <33561705+JasonN3@users.noreply.github.com> Date: Thu, 14 Mar 2024 14:04:24 -0400 Subject: [PATCH] wait for vm to be available --- Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/Makefile b/Makefile index d0985b2..a182b87 100644 --- a/Makefile +++ b/Makefile @@ -258,6 +258,7 @@ ansible_inventory: echo " ansible_ssh_common_args: '-o StrictHostKeyChecking=no'" >> ansible_inventory test-vm: ansible_inventory + ansible -i ansible_inventory -m ansible.builtin.wait_for_connection vm $(eval _TESTS = $(filter-out README.md,$(shell ls tests/vm))) chmod +x $(foreach test,$(_TESTS),tests/vm/$(test)) for test in $(_TESTS); do ./tests/vm/$${test} deploy.iso; done