forked from wazuh/wazuh-docker
Avoid overwriting complete config
This commit is contained in:
@@ -54,7 +54,7 @@ grep -q 1513629884013 $kibana_config_file
|
|||||||
_config_exists=$?
|
_config_exists=$?
|
||||||
|
|
||||||
if [[ "x$CONFIG_CODE" != "x200" && $_config_exists -ne 0 ]]; then
|
if [[ "x$CONFIG_CODE" != "x200" && $_config_exists -ne 0 ]]; then
|
||||||
cat << EOF > $kibana_config_file
|
cat << EOF >> $kibana_config_file
|
||||||
hosts:
|
hosts:
|
||||||
- 1513629884013:
|
- 1513629884013:
|
||||||
url: $wazuh_url
|
url: $wazuh_url
|
||||||
|
|||||||
Reference in New Issue
Block a user