jclouds has support for passing userdata to instances but that mechanism
is not used for bootstrap in Whirr:

http://demobox.github.com/jclouds-maven-site-1.3.1/1.3.1/jclouds-multi/apidocs/org/jclouds/ec2/compute/options/EC2TemplateOptions.html

There are some code changes needed to make this work.

How would this be useful for you?

-- Andrei Savu / andreisavu.ro

On Mon, Mar 5, 2012 at 7:40 PM, Ashish <[email protected]> wrote:

> Folks sorry for confusing terminology.
>
> I meant user-data scripts that can be passed to ec2 instances while
> firing up. more details here
> http://www.turnkeylinux.org/blog/ec2-userdata
>
> They can essentially help you do some stuff on the instance like
> attaching EBS etc.
> I am not sure if beforeBootstrap() function to achieve this.
>
> Just looking at a way of achieving the same functionality.
>
> On Mon, Mar 5, 2012 at 11:01 PM, Ashwanth Kumar
> <[email protected]> wrote:
> > You can try also S3 and then copy it after your instances are up. If it
> > might help.
> >
> >
> > On Mon, Mar 5, 2012 at 10:54 PM, Marco Didonna <[email protected]>
> > wrote:
> >>
> >> On 5 March 2012 18:10, Ashish <[email protected]> wrote:
> >> > Hi,
> >> >
> >> > Is there a way through which we can pass user data to ec2 instances,
> >> > while firing up hadoop or other clusters?
> >> >
> >> > --
> >> > thanks
> >> > ashish
> >>
> >> Well speaking of hadoop you can't pass anything until the full cluster
> >> has been initialized. After that just use the simple hadoop fs
> >> -copyfromlocal command, I'm sure you're familiar with it.
> >>
> >> Regards,
> >> MD
> >
> >
> >
> >
> > --
> >
> > Ashwanth Kumar / ashwanthkumar.in
> >
> >
>
>
>
> --
> thanks
> ashish
>
> Blog: http://www.ashishpaliwal.com/blog
> My Photo Galleries: http://www.pbase.com/ashishpaliwal
>

Reply via email to