VM creation and deployment

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_images at the base of this repo

  • Place the generated qcow2 file in the vm_images directory with the name guest.qcow2.

  • Create an inventory describing your virtual machines. Follow the example inventories/examples/seapath-vm-deployement.yaml

  • For 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.yaml

Otherwise, 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.yaml

Create 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.