Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow to specify a runtime-jdk during installation (elastic#1008)
The `install` subcommand sometimes requires to run so called install hooks, for example to install plugins. These are installed with Elasticsearch's `plugin` script which requires Java. Yet, if we rely on the bundled JDK and no other JDK is installed on the system, the `java` binary cannot be resolved because no runtime JDK is specified at all. With this commit we expose the command line option `--runtime-jdk` so users can provide `bundled` in the installation phase.
- Loading branch information