diff --git a/unattended_installer/install_functions/dashboard.sh b/unattended_installer/install_functions/dashboard.sh index cf25db1b53..d57fe29fa9 100644 --- a/unattended_installer/install_functions/dashboard.sh +++ b/unattended_installer/install_functions/dashboard.sh @@ -10,7 +10,7 @@ function dashboard_changePort() { chosen_port="$1" http_port="${chosen_port}" - wazuh_dashboard_ports=( "${http_port}" ) + wazuh_dashboard_port=( "${http_port}" ) wazuh_aio_ports=(9200 9300 1514 1515 1516 55000 "${http_port}") sed -i 's/server\.port: [0-9]\+$/server.port: '"${chosen_port}"'/' "$0"