[ovirt-users] Passing custom script to cloud init using api

Shanil S xielesshanil at gmail.com
Tue Sep 2 09:32:35 UTC 2014


Hi Juan,

Thanks for the solution.

-- 
Regards
Shanil


On Tue, Sep 2, 2014 at 2:59 PM, Juan Hernandez <jhernand at redhat.com> wrote:

> On 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 custom script should go inside the "custom_script" element inside
> 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.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ovirt.org/pipermail/users/attachments/20140902/19d7f389/attachment-0001.html>


More information about the Users mailing list