Adding a feature to the boot configuration
If you want to provision copies of Apache Karaf for deployment on multiple hosts, you might be interested in adding a feature to the boot configuration, which determines the collection of features that are installed when Apache Karaf boots up for the very first time.
# Comma separated list of features repositories to register by default
# Comma separated list of features to install at startup
# Will put these back in when we decide to include these components
You can modify the configuration to customize the features that are installed as JBoss Fuse starts up. You can also modify this configuration file, if you plan to distribute JBoss Fuse with pre-installed features.
This method of adding a feature is only effective the first time a particular Apache Karaf instance boots up. Any changes made subsequently to the
featuresRepositories setting and the
featuresBoot setting are ignored, even if you restart the container.
You could force the container to revert back to its initial state, however, by deleting the complete contents of the
InstallDir/data/cache (thereby losing all of the container's custom settings).