VM creation and deployment
This content is archived.
Reworked in a new Virtual machine section
VM deployment using Ansible
To deploy this machine on the cluster, follow these steps :
Create a folder
vm_imagesat the base of this repoPlace the generated qcow2 file in the
vm_imagesdirectory with the nameguest.qcow2.Create an inventory describing your virtual machines. Follow the example
inventories/examples/seapath-vm-deployement.yamlFor a cluster, call the playbook
playbooks/deploy_vms_cluster.yaml
ansible-playbook -i inventories/cluster_inventory.yaml -i inventories/vm_inventory.yaml playbooks/deploy_vms_cluster.yamlOtherwise, for the standalone, call the playbook playbooks/deploy_vms_standalone.yaml
ansible-playbook -i inventories/standalone_inventory.yaml -i inventories/vm_inventory.yaml playbooks/deploy_vms_standalone.yamlCreate a basic virtual machine
A basic virtual machine for SEAPATH based on debian can be created using the build_debian_iso repository.
You can also create a yocto VM using the cqfd flavor guest_efi, as described in the yocto-bsp repository, using the guest_efi cqfd flavor.