Hi Steinar,

With Karaf 4.3.x, you can now use "implicit" env variable.

It’s documented here:

http://karaf.apache.org/manual/latest/#_environment_variables_system_properties 
<http://karaf.apache.org/manual/latest/#_environment_variables_system_properties>

It means you can set features repositories with:

export 
ORG_APACHE_KARAF_FEATURES_FEATURESREPOSITORIES='${featuresRepositories},mvn:org.apache.karaf.decanter/apache-karaf-decanter/2.5.0/xml/features'

For instance

Regards
JB

> Le 19 juin 2021 à 12:07, Steinar Bang <[email protected]> a écrit :
> 
> I'm in the process of moving my karaf based docker images from karaf
> 4.2.8 to karaf 4.3.2.
> 
> I'm trying to find the enviroment variables that will let me add maven
> repositories, feature repositories and boot features, without copying
> the files from the distro and modifying them.
> 
> But I haven't been able to google up these variables.
> 
> Is there a list of these variables somewhere?
> 
> (I thought they might be implemented by using ${env:xxx} in the .cfg
> files, but there aren't any usage of "env:" in the etc directory of
> karaf 4.3.2)
> 
> Thanks!
> 
> 
> - Steinar
> 

Reply via email to