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 = vms_service.vm_service(vm.id) # Find the host: hosts_service = connection.system_service().hosts_service() host = hosts_service.list(search='name=myhost')[0] On Mon, Mar 25, 2019 at 2:49 PM Hesham Ahmed <hsah...@gmail.com> wrote: > 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, 2019 at 3:35 PM Sakhi Hadebe <sa...@sanren.ac.za> wrote: > > > > Hi, > > > > What is the CLI command to export VMs as OVA? > > > > -- > > Regards, > > Sakhi Hadebe > > _______________________________________________ > > Users mailing list -- users@ovirt.org > > To unsubscribe send an email to users-le...@ovirt.org > > Privacy Statement: https://www.ovirt.org/site/privacy-policy/ > > oVirt Code of Conduct: > https://www.ovirt.org/community/about/community-guidelines/ > > List Archives: > https://lists.ovirt.org/archives/list/users@ovirt.org/message/I32KQWNTIY4N6ZXTH6IGND74H2JLWJJ5/ > -- Regards, Sakhi Hadebe Engineer: South African National Research Network (SANReN)Competency Area, Meraka, CSIR Tel: +27 12 841 2308 <+27128414213> Fax: +27 12 841 4223 <+27128414223> Cell: +27 71 331 9622 <+27823034657> Email: sa...@sanren.ac.za <shad...@csir.co.za>
_______________________________________________ Users mailing list -- users@ovirt.org To unsubscribe send an email to users-le...@ovirt.org Privacy Statement: https://www.ovirt.org/site/privacy-policy/ oVirt Code of Conduct: https://www.ovirt.org/community/about/community-guidelines/ List Archives: https://lists.ovirt.org/archives/list/users@ovirt.org/message/T7UUJYCBWX7VPXVB4EGT3H2QCIWGIO5C/