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

Leaboy wlbleaboy at 126.com
Mon Oct 27 11:46:27 UTC 2014


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

, but I can’t view the iso in the vm.


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


More information about the Devel mailing list