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

2014-10-27 Thread Leaboy
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@internal:jhadmin --cacert /tmp/ca.crt -d cdromfile
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.


___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


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

2014-10-27 Thread Michal Skrivanek

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@internal:jhadmin --cacert /tmp/ca.crt -d cdromfile 
 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@ovirt.org
 http://lists.ovirt.org/mailman/listinfo/users

___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users