Hi,
I am trying to run a script like this on multiple EC2 servers:
for (NodeMetadata node : nodes) {
String runScript = new ScriptBuilder()
.addStatement(exec(sh run.sh))
.render(org.jclouds.scriptbuilder.domain.OsFamily.UNIX);
ListenableFutureExecResponse responses =
I have seen some images that do not support bash-shopt which is what jclouds
uses to wrap scripts (in the header).
What image is being used?
From: Ignasi [ignasi.barr...@gmail.com]
Sent: Friday, September 13, 2013 2:19 PM
To: user@jclouds.incubator.apache.org
The script does not start. The script starts a server and exits, something
like java -jar somejar.jar
Have you tried putting any echo starting /my/log/file statements
in the script, just to see if it even ever gets invoked?
Regards
ap
A couple considerations:
* You don't have to manually render the script. You can directle pass the
'exec(foo)' to the submitScriptOnNode method and jclouds will take care
of rendering it properly depending on the type of the Template being
deployed.
* Why don't you want to wrap it in the init
It fails on Ubuntu. I tried that before moving to Amazon AMI.
On Sat, Sep 14, 2013 at 2:14 AM, Ignasi ignasi.barr...@gmail.com wrote:
Glad to hear it works!
Yes. You'll see a symlink in your home pointing to the script that is
actually executed. You can read it to have a better
Hi :
How do I specify specific SSL key for, say, a keyStone
authentication. Some properties overrides exists to do this?
This has been asked before [1] sometime ago. So what's the current status
on this?.
Currently all the JClouds examples uses HTTP only.
That means plain username/password(even
Currently all the JClouds examples uses HTTP only.
That means plain username/password(even a single time) can be stolen, even
if its submitted for a token.
Are you able to modify the JRE keystore, or set it using the standard
-Djava.net.ssl... parameters (e.g. [1]) as specified in the answer