It seems from the documentation[1] that user-data is retrieved in the same
manner. org.apache.stratos.cloud.controller.iaases.VCloudIaas replaces the
string PAYLOAD with the payload string retrieved from the IaaS.


[1] -
https://cwiki.apache.org/confluence/display/STRATOS/4.1.0+Creating+a+Cartridge+on+vCloud


Regards,
Chamila de Alwis
Software Engineer | WSO2 | +94772207163
Blog: code.chamiladealwis.com




On Fri, Aug 22, 2014 at 6:37 PM, Raghavendra Rangrej (rrangrej) <
[email protected]> wrote:

>     Hi ,
>
>
>
> Last time I worked on vcloud cartridges, I knew the payload was being sent
> as customizatiom script  as
>
>
>
> #!/bin/sh
>
> mkdir -p /tmp/payload
>
> echo "PAYLOAD" > /tmp/payload/launch-params
>
> /root/bin/init-vcloud.sh > /tmp/puppet_log
>
>
>
> Is it same or has it changed?
>
>
>
> In my today’s attempt I see a file called bootstrap is created in $HOME
> which seems to be doing similar things as earlier customize script way.
>
> If this is the way, how is the file sent to cartridge? With puppet or say
> scp?
>
>
>
> Any inputs on how the  payload is sent in the latest code of stratos for
> vcloud payload?
>
>
>
> Regards
>
> Raghavendra
>

Reply via email to