Hi Juan,

Thanks for the solution.

-- 
Regards
Shanil


On Tue, Sep 2, 2014 at 2:59 PM, Juan Hernandez <jhern...@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.
>
_______________________________________________
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users

Reply via email to