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:
parent
ebe2fb3ba1
commit
c68b171ea4
1 changed files with 1 additions and 0 deletions
1
Makefile
1
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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue