-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The offline_checkPrerequisites
function must be deleted
#96
Comments
offline_checkPrerequisites
must be deletedoffline_checkPrerequisites
function must be deleted
Update reportWe removed the TestingFor now, we have been testing this functionality in RPM instances. It remains to be tested in APT ones.
[root@ip-172-31-46-248 wazuh-installation-assistant]# bash wazuh-install.sh --offline-installation --wazuh-dashboard dashboard -o
08/10/2024 17:05:00 INFO: Starting Wazuh installation assistant. Wazuh version: 4.9.0
08/10/2024 17:05:00 INFO: Verbose logging redirected to /var/log/wazuh-install.log
In offline_checkPrerequisites:
Dependencies: curl tar gnupg openssl lsof
08/10/2024 17:05:01 INFO: Checking dependencies for Wazuh installation assistant.
08/10/2024 17:05:05 INFO: --- Removing existing Wazuh installation ---
08/10/2024 17:05:05 INFO: Removing Wazuh dashboard.
08/10/2024 17:05:24 WARNING: The Wazuh dashboard package could not be removed.
08/10/2024 17:05:24 INFO: Installation cleaned.
08/10/2024 17:05:24 INFO: Verifying that your system meets the recommended minimum hardware requirements.
08/10/2024 17:05:24 INFO: Wazuh web interface port will be 443.
In offline_checkPrerequisites:
Dependencies: libcap
08/10/2024 17:05:25 INFO: Checking prerequisites for Offline installation.
08/10/2024 17:05:25 INFO: Checking wazuh-offline.tar.gz file.
08/10/2024 17:05:26 INFO: --- Wazuh dashboard ----
08/10/2024 17:05:26 INFO: Starting Wazuh dashboard installation.
08/10/2024 17:07:50 INFO: Wazuh dashboard installation finished.
08/10/2024 17:07:51 INFO: Wazuh dashboard post-install configuration finished.
08/10/2024 17:07:51 INFO: Starting service wazuh-dashboard.
08/10/2024 17:07:52 INFO: wazuh-dashboard service started.
08/10/2024 17:08:15 INFO: Initializing Wazuh dashboard web application.
08/10/2024 17:08:15 INFO: Wazuh dashboard web application initialized.
08/10/2024 17:08:15 INFO: --- Summary ---
08/10/2024 17:08:15 INFO: You can access the web interface https://<wazuh-dashboard-ip>:443
User: admin
Password: 4tLp+PiYp0sm7I?EZyKrggjlimeTm+n5
08/10/2024 17:08:15 INFO: Installation finished. |
Description
While documenting the Wazuh installation assistant functions, I noticed that the
offline_checkPrerequisites
is the same as theoffline_checkDependencies
function:wazuh-installation-assistant/install_functions/wazuh-offline-installation.sh
Lines 34 to 51 in b3b1e4c
The
offline_checkPrerequisites
function is duplicated and it not being used.Note
This function is in the code of the 4.10.0 version.
The text was updated successfully, but these errors were encountered: