wazuh / wazuh-packages

Wazuh - Tools for packages creation
https://wazuh.com
GNU General Public License v2.0
97 stars 89 forks source link

Changed log message when not `yum` nor `apt-get` are found. Added clearer instructions on following steps. #2922

Closed CarlosALgit closed 2 months ago

CarlosALgit commented 2 months ago
Related issue

2444

||

Description

The previous log message was: ERROR: Couldn't find type of system

This message has been changed to a more descriptive message: Couldn't find YUM or APT package manager. Try to install one of them with your current package manager. Then, launch the installation assistant again.

Log file

localhost:/home/vagrant/wazuh-packages # ./unattended_installer/wazuh-install.sh -a
22/04/2024 08:11:29 INFO: Starting Wazuh installation assistant. Wazuh version: 4.6.0
22/04/2024 08:11:29 INFO: Verbose logging redirected to /var/log/wazuh-install.log
22/04/2024 08:11:29 ERROR: Couldn't find YUM or APT package manager. Try installing the one corresponding to your operating system and then, launch the installation assistant again.