Hi Nirmal,

But no launch-params file is generated at the time we run config
script. Also launch parameters are passed only when an instance is
spawned by Stratos. As I understood, the spawned instance will execute
init.sh (which is added to local.rc by config script) that will get
this user-data and save it in launch-params file. But why do we need
that in config.sh script, which is executed only once manually?

Thanks.

On Mon, Apr 21, 2014 at 4:53 AM, Nirmal Fernando <[email protected]> wrote:
> Hi Akila,
>
> launch-params file generated by the Cartridge is used by the Cartridge Agent
> etc. see:
> https://github.com/apache/incubator-stratos/blob/master/tools/puppet3/modules/agent/manifests/init.pp
>
>
> On Mon, Apr 21, 2014 at 12:59 AM, Akila Ravihansa Perera
> <[email protected]> wrote:
>>
>> Hi,
>> But what's the purpose of having this wget command in config script?
>> Thanks.
>
>
>
>
> --
> Best Regards,
> Nirmal
>
> Nirmal Fernando.
> PPMC Member & Committer of Apache Stratos,
> Senior Software Engineer, WSO2 Inc.
>
> Blog: http://nirmalfdo.blogspot.com/



-- 
Akila Ravihansa Perera
Software Engineer
WSO2 Inc.
http://wso2.com

Phone: +94 77 64 154 38
Blog: http://ravihansa3000.blogspot.com

Reply via email to