How to remove the waring of "OpenDistro for Elasticsearch Security Demo Installer"

I already overwrite the demo certificates using my own certificates and pass them to opendistro_security.ssl.transport.* and opendistro_security.ssl.http.pemcert_filepath.*

But I when start each node, I still get this warning.

OpenDistro for Elasticsearch Security Demo Installer
 ** Warning: Do not use on production or public reachable systems **
Basedir: /usr/share/elasticsearch
Elasticsearch install type: rpm/deb on CentOS Linux release 7.6.1810 (Core)
Elasticsearch config dir: /usr/share/elasticsearch/config
Elasticsearch config file: /usr/share/elasticsearch/config/elasticsearch.yml
Elasticsearch bin dir: /usr/share/elasticsearch/bin
Elasticsearch plugins dir: /usr/share/elasticsearch/plugins
Elasticsearch lib dir: /usr/share/elasticsearch/lib
Detected Elasticsearch Version: x-content-7.1.1
Detected Open Distro Security Version:
/usr/share/elasticsearch/config/elasticsearch.yml seems to be already configured for Security. Quit.
OpenJDK 64-Bit Server VM warning: Option UseConcMarkSweepGC was deprecated in version 9.0 and will likely be removed in a future release.
[2019-08-10T07:33:06,484][INFO ][o.e.e.NodeEnvironment    ] [elasticsearch-coordinating-0] using [1] data paths, mounts [[/ (rootfs)]], net usable_space [888.7gb], net total_space [899.4gb], types [rootfs]
[2019-08-10T07:33:06,486][INFO ][o.e.e.NodeEnvironment    ] [elasticsearch-coordinating-0] heap size [1.9gb], compressed ordinary object pointers [true]

What else should I change to disable this warning? btw, what is the logic to check to show this message?

seems it is due to the default endpoint of the docker container is to run tools/

how can I find what the endpoint is and overwrite it to make it not run this script in the beginning?


created one github issue with my proposal