Hi Juan,
Thanks for the solution.--
Regards
ShanilOn Tue, Sep 2, 2014 at 2:59 PM, Juan Hernandez <jhernand@redhat.com> wrote:The custom script should go inside the "custom_script" element insideOn 09/02/2014 05:46 AM, Shanil S wrote:
> Hi All,
>
> From the ovirt admin panel, there is an option to give the custom script
> in the cloud init ( Run Once-> cloud init- > Custom script ). Is there
> any ways to pass the custom script to cloud init using the rest api ?
>
the "initialization" element:
<action>
...
<initialization>
<cloud_init>...</cloud_init>
<custom_script>your custom script</custom_script>
</initialization>
</action>
--
Dirección Comercial: C/Jose Bardasano Baos, 9, Edif. Gorbea 3, planta
3ºD, 28016 Madrid, Spain
Inscrita en el Reg. Mercantil de Madrid – C.I.F. B82657941 - Red Hat S.L.