Skip to content
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

Update the Wazuh installation assistant to support revision number #62

Closed
c-bordon opened this issue Sep 17, 2024 · 2 comments
Closed
Assignees
Labels
level/subtask Subtask issue type/change Change performed in a resource or Wazuh Cloud environment

Comments

@c-bordon
Copy link
Member

related: #21

With the changes required for tier 2 redistribution packages, we must modify the installation assistant to contain the revision number within its code.

To do this it is necessary to modify the variable wazuh_install_vesion to wazuh_install_revision

readonly wazuh_install_vesion="0.1"

It is also necessary to update the message so that it contains version and revision

common_logger "Wazuh installation assistant version: ${wazuh_install_vesion}"

@c-bordon c-bordon added level/subtask Subtask issue type/change Change performed in a resource or Wazuh Cloud environment labels Sep 17, 2024
@wazuhci wazuhci moved this to Backlog in Release 4.10.0 Sep 17, 2024
@wazuhci wazuhci moved this from Backlog to In progress in Release 4.10.0 Sep 18, 2024
@davidcr01
Copy link
Contributor

Update Report

Development

After the change, the Installation assistant returns the correct revision number.

wazuh-installation-assistant git:(change/62-add-support-revision-number) ✗ sudo bash wazuh-install.sh -V 
18/09/2024 12:26:12 INFO: Wazuh version: 4.10.0
18/09/2024 12:26:12 INFO: Filebeat version: 7.10.2
18/09/2024 12:26:12 INFO: Wazuh installation assistant revision: 1

@davidcr01 davidcr01 linked a pull request Sep 18, 2024 that will close this issue
@wazuhci wazuhci moved this from In progress to Pending review in Release 4.10.0 Sep 18, 2024
@c-bordon
Copy link
Member Author

This change will not be applied to 4.10.0 version, we will resume this task in 5.0.0

@c-bordon c-bordon closed this as not planned Won't fix, can't repro, duplicate, stale Sep 18, 2024
@wazuhci wazuhci moved this from Pending review to Done in Release 4.10.0 Sep 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
level/subtask Subtask issue type/change Change performed in a resource or Wazuh Cloud environment
Projects
Status: Done
2 participants