Skip to content

Commit

Permalink
Fix install agent command on SUSE (#5925)
Browse files Browse the repository at this point in the history
* fix(deploy-new-agent): install agent command on SUSE

* changelog: add entry

(cherry picked from commit b697a28)
  • Loading branch information
Desvelao authored and Machi3mfl committed Sep 25, 2023
1 parent f240c3b commit 1adbf24
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
6 changes: 5 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,11 @@ All notable changes to the Wazuh app project will be documented in this file.

- Support for Wazuh 4.5.3

## Wazuh v4.5.2 - Kibana 7.10.2, 7.16.x, 7.17.x - Revision 02
### Changed

- Changed the command to install the agent on SUSE uses zypper [#5925](https://github.com/wazuh/wazuh-kibana-app/pull/5925)

## Wazuh v4.5.2 - OpenSearch Dashboards 2.6.0 - Revision 02

### Added

Expand Down
2 changes: 1 addition & 1 deletion public/controllers/agent/components/register-agent.js
Original file line number Diff line number Diff line change
Expand Up @@ -1042,7 +1042,7 @@ apk add wazuh-agent=${this.state.wazuhVersion}-r1`,
amazonlinuxText: `sudo ${this.optionalDeploymentVariables()}${this.agentNameVariable()}yum install -y ${this.optionalPackages()}`,
fedoraText: `sudo ${this.optionalDeploymentVariables()}${this.agentNameVariable()}yum install -y ${this.optionalPackages()}`,
oraclelinuxText: `sudo ${this.optionalDeploymentVariables()}${this.agentNameVariable()}yum install -y ${this.optionalPackages()}`,
suseText: `sudo ${this.optionalDeploymentVariables()}${this.agentNameVariable()}yum install -y ${this.optionalPackages()}`,
suseText: `sudo rpm --import https://packages.wazuh.com/key/GPG-KEY-WAZUH && sudo ${this.optionalDeploymentVariables()}${this.agentNameVariable()}zypper install -y ${this.optionalPackages()}`,
raspbianText: `curl -so wazuh-agent.deb ${this.optionalPackages()} && sudo ${this.optionalDeploymentVariables()}${this.agentNameVariable()}dpkg -i ./wazuh-agent.deb`,
};

Expand Down

0 comments on commit 1adbf24

Please sign in to comment.