Dear Robert,

> I would like a shell script to run automatically upon node creation. I have
> tried passing commands via the "image_userdata" configuration key located 
> within the cluster section of the elasticluster config file. But I have not 
> seen any indication of it working so far.

This seems to be a bug in ElastiCluster's GCE backend: the
`image_userdata` parameter is ignored and not passed on to the cloud.
(Conversely, with OpenStack the trick would work.)  Can you please
report it on ElastiCluster's isse tracker?

As a workaround, I can only suggest that you create your own VM
image/snapshot, which includes the startup script and calls it from
`/etc/rc.local` or a similar boot-level script.

Ciao,
R

-- 
Riccardo Murri / Email: [email protected] / Tel.: +41 77 458 98 32

-- 
You received this message because you are subscribed to the Google Groups 
"elasticluster" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to