Hi Shaheed, Thanks for the suggestion.
The plan is to use the customization script and send the payload to vCloud VM. Then we plan to configure the base image to read those payload and run puppet agent etc. On Thu, Mar 13, 2014 at 2:37 PM, Shaheed Haque <shahh...@cisco.com> wrote: > > > > > Please ensure that Python2 and Python3 are possible options! > > > > (If nothing else, we probably want to encourage people towards these > higher layers rather than bash/cmd/etc.) > > > > > > On Thursday 13 March 2014 11:28:36 Isuru Perera wrote: > > Planning to implement following solution. > > 1. Define "shell_type" as a property in Cartridge Definition. Possible > values can be "bash", "sh", "cmd", etc. > > 2. Dynamically create a customization script based on "shell_type" in > vCloud IaaS implementation. > > I will try to implement this in an extensible way (without code > modifications) for any shell_type. > > Thanks! > > Best Regards, > > > > > On Thu, Mar 13, 2014 at 10:32 AM, Isuru Perera <isu...@wso2.com> wrote: > > Thanks Udara for the information. > > So, it seems we have to go ahead with the use of customization script in > vCloud. > > Next problem is that the script is dependent on the target Cartridge OS. > > Please let me know if you have any suggestions to solve this problem. > > > > On Thu, Mar 13, 2014 at 7:44 AM, Udara Liyanage <ud...@wso2.com> wrote: > > AFIR the metadata is read by a init script inside the instance, not the > cartridge agent. > In EC2 and Openstack we can pass the user data using jclouds API. However > it can not be done in VCloud scenario. In VCloud custom metadata can be > stored in VApp. However in order retrieve username/password are needed. > > I'v written to some blog post where they suggest to go via script as Isuru > is trying. > > > > Touched, not typed. Erroneous words are a feature, not a typo. > > > > > -- > > Isuru Perera > Senior Software Engineer | WSO2, Inc. | http://wso2.com/ > Lean . Enterprise . Middleware > > about.me/chrishantha > > > > > -- > > Isuru Perera > Senior Software Engineer | WSO2, Inc. | http://wso2.com/ > Lean . Enterprise . Middleware > > about.me/chrishantha > > > > -- Isuru Perera Senior Software Engineer | WSO2, Inc. | http://wso2.com/ Lean . Enterprise . Middleware about.me/chrishantha