[ovirt-users] Rest api body for updating vm os type
Qingyun Ao
aoqingyun at gmail.com
Tue Jan 5 06:03:24 UTC 2016
Hello, all,
I want to update vm os type by ovirt rest api.
The following is my request:
Method: put
Content-Type: application/xml
Body: <vm><os type="windows_7"></os></vm>
The response from ovirt engine is:
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<fault>
<reason>Operation Failed</reason>
<detail>[Cannot edit VM. Invalid time zone for given OS type.]</detail>
</fault>
Can anybody give a correct body for updating vm os type from "other" to
"windows_7"?
Thank you very much.
--
Best regards,
Ao Qingyun
aoqingyun at gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ovirt.org/pipermail/users/attachments/20160105/8abadff5/attachment-0001.html>
More information about the Users
mailing list