<div dir="ltr"><div>Hi Juan,<br><br></div>Okay.. Thanks.. Its working now.. :)<br></div><div class="gmail_extra"><br clear="all"><div><div dir="ltr"><span>-- <br></span>Regards
<br>Shanil
</div></div>
<br><br><div class="gmail_quote">On Wed, Sep 3, 2014 at 1:44 PM, Juan Hernandez <span dir="ltr"><<a href="mailto:jhernand@redhat.com" target="_blank">jhernand@redhat.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="HOEnZb"><div class="h5">On 09/03/2014 10:12 AM, Shanil S wrote:<br>
> Hi All,<br>
><br>
> We are using the /api/vm/ID/start function to start the virtual machine<br>
> but it seems the vm is start in the run once mode. We want to start the<br>
> vm in the Run mode rather than the run once, How can we do this ? Is<br>
> there any other option to start the vm in the run mode ? it is possible<br>
> from the ovirt admin panel. The following xml is used for the start vm<br>
> action<br>
><br>
> $xml_data = "<br>
> <action><boot dev='cdrom'/></os><br>
> <vm></vm></action>";<br>
><br>
<br>
</div></div>Use an empty <action/> element. The presence of the nested <vm></vm><br>
element means "run once".<br>
<span class="HOEnZb"><font color="#888888"><br>
--<br>
Dirección Comercial: C/Jose Bardasano Baos, 9, Edif. Gorbea 3, planta<br>
3ºD, 28016 Madrid, Spain<br>
Inscrita en el Reg. Mercantil de Madrid – C.I.F. B82657941 - Red Hat S.L.<br>
</font></span></blockquote></div><br></div>