The inventory may define these hosts to run:
hypervisors
: Set of hosts to launch virtual machinesEach components of VM should have a VirtIO interface (for example the network or the disk).
Some examples are available here.
If the VM is in UEFI mode, it's possible that it doesn't boot because the firmware is not the same. Follow this steps:
The playbook ansible/playbooks/cluster_setup_deploy_vms.yaml
is used to deploy a virtual machine. There is an ansible library (ansible/library/cluster_vm.py
) to wrap vm_manager.
The inventory must define these hosts to run this step:
VMs
: Sets of hosts to launch on hypervisorsBefore starting, make sure there is enough space in /home
and /tmp
.