Fix parse cert.yml according to wazuh_cert_tools modifications

This commit is contained in:
fcaffieri
2022-04-12 12:58:23 -03:00
parent 5464bf4b91
commit ffcd5f5cdc

View File

@@ -38,7 +38,7 @@ chmod 700 /$CERT_TOOL
## Execute cert tool and parsin cert.yml to set UID permissions
source /$CERT_TOOL -A
nodes_server=$( cert_parseYaml /config.yml | grep nodes_server_name | sed 's/nodes_server_name=//' )
nodes_server=$( cert_parseYaml /config.yml | grep nodes_server__name | sed 's/nodes_server__name=//' )
node_names=($nodes_server)
echo "Moving created certificates to destination directory"