configure kura from the command line [message #1733995] |
Thu, 02 June 2016 13:56  |
Eclipse User |
|
|
|
I can't think of a more trusted source than the OS of the box running kura - yet I can't seem to find how to interact with kura's configuration via the command line.
Is it possible to set configuration items such as those exposed via the web ui from the command line?
|
|
|
|
|
|
|
|
|
Re: configure kura from the command line [message #1734480 is a reply to message #1734111] |
Wed, 08 June 2016 11:47  |
Eclipse User |
|
|
|
Hi Paul,
Encrypting the config file is a security mechanism. If someone gains access to your Kura system, they would not be able to modify your configuration. The key used for encryption is available in the Kura source code, but you may want to change this if you decide to go this route. Also important, the config file is encrypted after Kura starts for the first time. So, if you are looking to seed a configuration, you can modify the config file in plain text before Kura starts for the first time.
For the second option, you could add the bundles to Kura before startup. The bundles (Jar files) are located in /opt/eclipse/kura/plugins and /opt/eclipse/kura/kura/plugins. You would also need to add the new bundles to /opt/eclipse/kura/kura/config.ini. These bundles could be added via a script or through a custom build of Kura.
Currently there is not way to install a DP via the command line. I would like to add an OSGi command to allow this, but it is still on the wish list.
--Dave
|
|
|
Powered by
FUDForum. Page generated in 0.06933 seconds