<div dir="ltr"><div><div><div><div><div><div><div><div><div><div><div><div><div>Hello, all,<br><br><br></div>I want to update vm os type by ovirt rest api.<br><br></div>The following is my request:<br></div>Method: put<br></div>Content-Type: application/xml<br></div>Body: <vm><os type="windows_7"></os></vm><br><br></div>The response from ovirt engine is:<br></div><?xml version="1.0" encoding="UTF-8" standalone="yes"?><br></div><fault><br></div> <reason>Operation Failed</reason><br></div> <detail>[Cannot edit VM. Invalid time zone for given OS type.]</detail><br></div></fault><br><br></div>Can anybody give a correct body for updating vm os type from "other" to "windows_7"?<br><br></div>Thank you very much.<br><div><div><div><div><div><div><div><div><div><div><div><div><div><div><div><br><br clear="all"><br>-- <br><div class="gmail_signature"><div dir="ltr"><font color="#888888"><div dir="ltr"><div>Best regards,</div>Ao Qingyun<br></div><div><a href="mailto:aoqingyun@gmail.com" target="_blank">aoqingyun@gmail.com</a></div></font><div><br></div></div></div>
</div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div>