Hi
I want to include the plugin installation as part of automation scripts which will install the elastic nodes & install the plugins.
In the ES documentation, I dont see any option for forcing to accept "y" or dont prompt for y/n or by default install it.
root@ip-205-2-40:/usr/share/elasticsearch/plugins# sh /tmp/install_s3rep.sh
-> Downloading file:///root/repository-s3-5.2.2.zip
[=================================================] 100%
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@ WARNING: plugin requires additional permissions @
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
- java.lang.RuntimePermission accessDeclaredMembers
- java.lang.RuntimePermission getClassLoader
- java.lang.reflect.ReflectPermission suppressAccessChecks
See http://docs.oracle.com/javase/8/docs/technotes/guides/security/permissions.html
for descriptions of what these permissions allow and the associated risks.
Continue with installation? [y/N]
====
root@ip-205-2-40:/usr/share/elasticsearch/plugins# /usr/share/elasticsearch/bin/elasticsearch-plugin --help
A tool for managing installed elasticsearch plugins
Commands
list - Lists installed elasticsearch plugins
install - Install a plugin
remove - Removes a plugin from elasticsearch
Non-option arguments:
command
Option Description
-h, --help show help
-s, --silent show minimal output
-v, --verbose show verbose output
root@ip-205-2-40:/usr/share/elasticsearch/plugins#
I don't want it to be prompted for y/n input from user. Is there any parameter I shall pass it in command line?