forked from wazuh/wazuh-docker
Demo certificates and open distro security plugin
This commit is contained in:
@@ -4,7 +4,6 @@
|
||||
elastic_config_file="/usr/share/elasticsearch/config/elasticsearch.yml"
|
||||
|
||||
# Disable the Open distro security plugin
|
||||
sed -i '/opendistro_security/d' $elastic_config_file
|
||||
|
||||
remove_single_node_conf(){
|
||||
if grep -Fq "discovery.type" $1; then
|
||||
@@ -58,4 +57,3 @@ else
|
||||
remove_cluster_config $elastic_config_file
|
||||
echo "discovery.type: single-node" >> $elastic_config_file
|
||||
fi
|
||||
echo "opendistro_security.disabled: true" >> $elastic_config_file
|
||||
@@ -21,8 +21,6 @@ run_as_other_user_if_needed() {
|
||||
|
||||
# Run load settings script.
|
||||
|
||||
./config_cluster.sh
|
||||
|
||||
./load_settings.sh &
|
||||
|
||||
# Execute elasticsearch
|
||||
|
||||
Reference in New Issue
Block a user