[ovirt-users] Re: CLI command to export VMs

2019-03-25 Thread Hesham Ahmed
This can be executed anywhere, I run it either on the engine or host since all prerequisites are pre-installed there. You need to enter the name of the vm and host in place of 'myvm' and 'myhost' On Mon, Mar 25, 2019, 4:45 PM Sakhi Hadebe wrote: > Thank you Hesham, > > Do execute the script on e

[ovirt-users] Re: CLI command to export VMs

2019-03-25 Thread Sakhi Hadebe
Thank you Hesham, Do execute the script on engine or ovirt hosts? Should I specify the domain of the VM and the name of the host on the values bolded below: # Find the virtual machine: vms_service = connection.system_service().vms_service() vm = vms_service.list(search='name=myvm')[0] vm_service

[ovirt-users] Re: CLI command to export VMs

2019-03-25 Thread Hesham Ahmed
I don't think there is a pre-installed CLI tool for export to OVA, however you can use this https://github.com/oVirt/ovirt-engine-sdk/blob/master/sdk/examples/export_vm_as_ova.py Make sure you change the Engine URL, username, password, VM and Host values to match your requirements. On Mon, Mar 25