Hi,

I'm new to OSGi and felix, so forgive a silly question.

I need to set up a few felix/karaf/camel instances and I need them all to be 
identical.
To achieve this I want to script the instructions for karaf, but I can't find 
any way to get an external file of instructions to run in karaf.
Is there any kind of batch facility in karaf, or a bundle to provide that 
ability?

The nearest I've got is sshing in to karaf and running one command at a time, 
but that requires me to enter the password with each connection.
Is it possible to configure the ssh daemon in karaf with an authorized_key?

I know I can provision facilities using org.apache.felix.karaf.features.cfg, 
but that doesn't (for example) let me run wrappers:install after the bundle is 
activated.
I also tried adding commands to shell.init.script, but that doesn't run 
wrappers:install either.

Thanks

Jim

Reply via email to