diff --git a/inventories/providers/abb/README.md b/inventories/providers/abb/README.md index a9515a6ab..dc08c570e 100644 --- a/inventories/providers/abb/README.md +++ b/inventories/providers/abb/README.md @@ -7,7 +7,7 @@ The VM deployment has been tested on a yocto and a debian hypervisor. ## Structure - `ssc600_hypervisor_standalone_example.yaml`: The inventory for a standalone hypervisor -- `ssc600_vm_standalone_example.yaml`: The inventory for the SSC600 VM +- `ssc600_vm_example.yaml`: The inventory for the SSC600 VM ## Files needed @@ -19,6 +19,8 @@ To use them, they can be copied in the `files` directory at the root of ansible. > The raw image disk can be converted to qcow2 format. The disk_extract variable has to be set to false. +In a cluster, the deployment playbook wants a qcow2 file. The convertion is needed and can be done with `qemu-img convert` + ## Prerequisite The VM need at least 30GB of free space. Ansible deploy it in the /var/lib/libvirt/images directory. diff --git a/inventories/providers/abb/ssc600_vm_standalone_example.yaml b/inventories/providers/abb/ssc600_vm_example.yaml similarity index 85% rename from inventories/providers/abb/ssc600_vm_standalone_example.yaml rename to inventories/providers/abb/ssc600_vm_example.yaml index 16cf1c752..e6876f4f4 100644 --- a/inventories/providers/abb/ssc600_vm_standalone_example.yaml +++ b/inventories/providers/abb/ssc600_vm_example.yaml @@ -10,6 +10,9 @@ all: vm_template: "../templates/vm/ssc600.xml.j2" vm_disk: "../files/ssc600_disk.img.gz" disk_extract: true + # In cluster mode, the disk has to be in qcow2 format: + #vm_disk: "../files/ssc600_disk.qcow2" + #disk_extract: false memory: 6 cpuset: [4, 5, 6, 7] emulatorpin: 3