Hi Yaron, looking at the code https://github.com/jclouds/jclouds-labs-google/blob/master/google-compute-engine/src/main/java/org/jclouds/googlecomputeengine/compute/GoogleComputeEngineServiceAdapter.java#L136-L137 seems that should be able to do it
According to the GCE doc at https://cloud.google.com/compute/docs/startupscript a map entry like startup-script=install-apache.sh should be what you want to add to userMetadata. HTH, Andrea On Sun, Mar 8, 2015 at 5:05 PM Yaron Rosenbaum <[email protected]> wrote: > Hi > > Is there a way to provide userdata (something like, cloud-init) using the > GCE provider? > I see that there’s no GoogleComputeEngineTemplateOptions.userData(..) method, > the equivalent of AWSEC2TemplateOptions’s userData(..) . > > Thanks! > > (Y) > >
