mirror of
https://github.com/valitydev/wazuh-docker.git
synced 2024-11-06 09:45:19 +00:00
Create config file from scratch when not a migration
This commit is contained in:
parent
14f0d6d622
commit
af5db1efac
@ -55,7 +55,8 @@ 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:
|
||||||
- 1513629884013:
|
- 1513629884013:
|
||||||
url: $wazuh_url
|
url: $wazuh_url
|
||||||
port: $wazuh_port
|
port: $wazuh_port
|
||||||
|
Loading…
Reference in New Issue
Block a user