Skip to content

Commit

Permalink
Merge pull request #1372 from wazuh/change-starting-dashboard-message
Browse files Browse the repository at this point in the history
Changed starting application messages
  • Loading branch information
alberpilot authored Mar 22, 2022
2 parents 6eda75d + dbe84d8 commit 1f898d1
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions unattended_installer/install_functions/dashboard.sh
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ function dashboard_copyCertificates() {

function dashboard_initialize() {

common_logger "Starting Wazuh dashboard."
common_logger "Initializing Wazuh dashboard web application."
installCommon_getPass "admin"
j=0

Expand Down Expand Up @@ -122,6 +122,7 @@ function dashboard_initialize() {
common_logger "When Wazuh dashboard is able to connect to your Elasticsearch cluster, you can access the web interface https://${nodes_dashboard_ip}.\n User: admin\n Password: ${u_pass}"
fi
else
common_logger "Wazuh dashboard web application initialized."
common_logger "--- Summary ---"
common_logger "You can access the web interface https://${nodes_dashboard_ip}.\n User: admin\n Password: ${u_pass}"
fi
Expand All @@ -130,7 +131,7 @@ function dashboard_initialize() {

function dashboard_initializeAIO() {

common_logger "Starting Wazuh dashboard."
common_logger "Initializing Wazuh dashboard web application."
installCommon_getPass "admin"
until [ "$(curl -XGET https://localhost/status -uadmin:${u_pass} -k -w %{http_code} -s -o /dev/null)" -eq "200" ] || [ "${i}" -eq 12 ]; do
sleep 10
Expand All @@ -142,7 +143,7 @@ function dashboard_initializeAIO() {
exit 1
fi

common_logger "Wazuh dashboard started."
common_logger "Wazuh dashboard web application initialized."
common_logger "--- Summary ---"
common_logger "You can access the web interface https://<wazuh-dashboard-ip>.\n User: admin\n Password: ${u_pass}"

Expand Down

0 comments on commit 1f898d1

Please sign in to comment.