<div dir="ltr">Hi Juan,<br><br>Thanks for the solution.<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 Tue, Sep 2, 2014 at 2:59 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/02/2014 05:46 AM, Shanil S wrote:<br>
> Hi All,<br>
><br>
> From the ovirt admin panel, there is an option to give the custom script<br>
> in the cloud init ( Run Once-> cloud init- > Custom script ). Is there<br>
> any ways to pass the custom script to cloud init using the rest api ?<br>
><br>
<br>
</div></div>The custom script should go inside the "custom_script" element inside<br>
the "initialization" element:<br>
<br>
<action><br>
...<br>
<initialization><br>
<cloud_init>...</cloud_init><br>
<custom_script>your custom script</custom_script><br>
</initialization><br>
</action><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>