
--Apple-Mail=_429BB55F-D88B-4705-B6C8-B83DFC1876A3 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=GB2312 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 = "<cdrom><file id=3D'vmdispatch.iso'/></cdrom>" = https://rhel65-1.jhinno.com:443/api/vms/a0b7ad46-0889-4a79-ae0d-d5ea69655f= 60/cdroms
as per IRC this is oVirt 3.3.4 Thanks, michal
, but I can=A1=AFt view the iso in the vm. _______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
--Apple-Mail=_429BB55F-D88B-4705-B6C8-B83DFC1876A3 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=GB2312 <html><head></head><body style=3D"word-wrap: break-word; = -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; = "><br><div><div><div>On 27 Oct 2014, at 12:46, Leaboy wrote:</div><br = class=3D"Apple-interchange-newline"><blockquote type=3D"cite"><div = style=3D"word-wrap: break-word; -webkit-nbsp-mode: space; = -webkit-line-break: after-white-space; font-size: 14px; font-family: = =CB=CE=CC=E5, sans-serif;"><div style=3D"margin-top: 0px; margin-right: = 0px; margin-bottom: 0px; margin-left: 122.4px; text-indent: -122.4px; = font-size: 12px; font-family: Courier; ">Hi,all:</div><div = style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; = margin-left: 122.4px; text-indent: -122.4px; font-size: 12px; = font-family: Courier; "> I want to attach ISO to vm use = sdk,</div><div style=3D"margin-top: 0px; margin-right: 0px; = margin-bottom: 0px; margin-left: 122.4px; text-indent: -122.4px; = font-size: 12px; font-family: Courier; ">I tried use this = command</div><div style=3D"margin-top: 0px; margin-right: 0px; = margin-bottom: 0px; margin-left: 122.4px; text-indent: -122.4px; = font-size: 12px; font-family: Courier; ">curl -X POST -H "Accept: = application/xml" -H "Content-Type: application/xml" -u = admin@internal:jhadmin --cacert /tmp/ca.crt -d "<cdrom><file = id=3D'vmdispatch.iso'/></cdrom>" <a = href=3D"https://rhel65-1.jhinno.com/api/vms/a0b7ad46-0889-4a79-ae0d-d5ea69= 655f60/cdroms">https://rhel65-1.jhinno.com:443/api/vms/a0b7ad46-0889-4a79-= ae0d-d5ea69655f60/cdroms</a></div></div></blockquote><div><br></div>as = per IRC this is oVirt = 3.3.4</div><div><br></div><div>Thanks,</div><div>michal</div><div><br><blo= ckquote type=3D"cite"><div style=3D"word-wrap: break-word; = -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; = font-size: 14px; font-family: =CB=CE=CC=E5, sans-serif;"><div = style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; = margin-left: 122.4px; text-indent: -122.4px; font-size: 12px; = font-family: Courier; ">, but I can=A1=AFt view the iso in the = vm.</div></div> _______________________________________________<br>Users mailing = list<br><a = href=3D"mailto:Users@ovirt.org">Users@ovirt.org</a><br>http://lists.ovirt.= org/mailman/listinfo/users<br></blockquote></div><br></div></body></html>= --Apple-Mail=_429BB55F-D88B-4705-B6C8-B83DFC1876A3--