1
0
Fork 0
mirror of https://github.com/JasonN3/build-container-installer.git synced 2025-12-25 10:57:55 +01:00

wait for vm to be available

This commit is contained in:
Jason N. 2024-03-14 14:04:24 -04:00
parent ebe2fb3ba1
commit c68b171ea4

View file

@ -258,6 +258,7 @@ ansible_inventory:
echo " ansible_ssh_common_args: '-o StrictHostKeyChecking=no'" >> ansible_inventory echo " ansible_ssh_common_args: '-o StrictHostKeyChecking=no'" >> ansible_inventory
test-vm: 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))) $(eval _TESTS = $(filter-out README.md,$(shell ls tests/vm)))
chmod +x $(foreach test,$(_TESTS),tests/vm/$(test)) chmod +x $(foreach test,$(_TESTS),tests/vm/$(test))
for test in $(_TESTS); do ./tests/vm/$${test} deploy.iso; done for test in $(_TESTS); do ./tests/vm/$${test} deploy.iso; done