Hi,

My comment inline
On 2011-9-19, at 下午10:03, mahrob wrote:

Hi,

Thanks for the reply. I checked the provided link, and passing the command
to install bundle via ssh prompt works fine using following:

$ssh -p 8101 -l smx localhost osgi:list

Actually I was looking for a way to pass a script file, say
install_bundles.sh that will contain install bundle commands for all my
bundles, like the command should look like:


$ssh -p 8101 -l smx localhost install_bundles.sh
I don't think this could work, I suggest you use feature descriptor to contain all of your bundles, then use one command features:install your_feature to install all of your bundles. Btw, you can take a look at [1] to get all karaf console supported commands.
[1]http://karaf.apache.org/manual/latest-2.2.x/users-guide/using-console.html

Also, in the above command, if I want to specify the password as well, how
can that be done?
-P password

Freeman

Thanks
Noman A.

--
View this message in context: 
http://servicemix.396122.n5.nabble.com/Servicemix-4-3-0-Installing-OSGI-components-using-bash-script-tp4806431p4819084.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.

---------------------------------------------
Freeman Fang

FuseSource
Email:[email protected]
Web: fusesource.com
Twitter: freemanfang
Blog: http://freemanfang.blogspot.com









Reply via email to