I just started experimenting with instances in Karaf. I've noticed
that the child instances aren't getting the changes I've made to
etc/org.apache.karaf.features.cfg. I did the following:
- modified the featuresRepositories property in
etc/org.apache.karaf.features.cfg (added a custom features repository)
- started Karaf
- created an instance (instance:create foo)
- compared the configuration files (diff -u
{etc,instances/foo}/org.apache.karaf.features.cfg
The child instance does not have my custom features repository. If
the child instances aren't getting org.apache.karaf.features.cfg from
the root etc directory, where are they getting them from? Can I
modify this location? I know that I can use the --furl option, but
all of the my child instances will need my custom features repository
and it would be simpler to configure that in one spot.
BTW, both Karaf 3.0.0 and 3.0.1 act this way. I haven't tried any
other versions.
Thanks,
Tim