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 <hsahmed(a)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...
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 <sakhi(a)sanren.ac.za> wrote:
>
> Hi,
>
> What is the CLI command to export VMs as OVA?
>
> --
> Regards,
> Sakhi Hadebe
> _______________________________________________
> Users mailing list -- users(a)ovirt.org
> To unsubscribe send an email to users-leave(a)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/I32KQWNTIY4...
--
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: sakhi(a)sanren.ac.za <shadebe(a)csir.co.za>