由于要做自动化部署es,所以密码要是默认的密码,elasticsearch-setup-passwords 这个东西必须要到容器内部执行, 交互式的无法自动化,auto 的方式又密码又是随机的 所以想用-E 的方式是不是可以非交互式的设置密码 ,但是找不到相关的例子,官网也-E 的使用方法,想问老师如何使用-E 或者如何设置统一的默认密码?Anthony...
bin/elasticsearch-setup-passwords auto|interactive [-b, --batch] [-h, --help] [-E <KeyValuePair>] [-s, --silent] [-u, --url "<URL>"] [-v, --verbose]Description This command is intended for use only during the initial configuration of the Elasticsearch security features. It uses...