[ovirt-users] how to attach ISO to VM use SDK

Michal Skrivanek michal.skrivanek at redhat.com
Mon Oct 27 08:17:07 EDT 2014


On 27 Oct 2014, at 12:46, Leaboy wrote:

> Hi,all:
>     I want to attach ISO to vm use sdk,
> I tried use this command
> curl -X POST -H "Accept: application/xml" -H "Content-Type: application/xml" -u admin at internal:jhadmin --cacert /tmp/ca.crt -d "<cdrom><file id='vmdispatch.iso'/></cdrom>" https://rhel65-1.jhinno.com:443/api/vms/a0b7ad46-0889-4a79-ae0d-d5ea69655f60/cdroms

as per IRC this is oVirt 3.3.4

Thanks,
michal

> , but I can’t view the iso in the vm.
> _______________________________________________
> Users mailing list
> Users at ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ovirt.org/pipermail/users/attachments/20141027/ad636cad/attachment.html>


More information about the Users mailing list