delete single quotes for configurate vuln detection

This commit is contained in:
vcerenu
2023-12-20 04:28:33 -03:00
parent 09aeb68b14
commit 2258605ec2
2 changed files with 2 additions and 2 deletions

2
.env
View File

@@ -2,5 +2,5 @@ WAZUH_VERSION=4.8.0
WAZUH_IMAGE_VERSION=4.8.0
WAZUH_TAG_REVISION=1
FILEBEAT_TEMPLATE_BRANCH=4.8.0
WAZUH_FILEBEAT_MODULE=wazuh-filebeat-0.2.tar.gz
WAZUH_FILEBEAT_MODULE=wazuh-filebeat-0.3.tar.gz
WAZUH_UI_REVISION=1

View File

@@ -115,7 +115,7 @@ function_entrypoint_scripts() {
function_configure_vulnerability_detection() {
if [ "$INDEXER_PASSWORD" != "" ]; then
>&2 echo "Configuring password."
sed -i "s|<password>VDPass</password>|<password>'$INDEXER_PASSWORD'</password>|g" /var/ossec/etc/ossec.conf
sed -i "s|<password>VDPass</password>|<password>$INDEXER_PASSWORD</password>|g" /var/ossec/etc/ossec.conf
fi
}