Skip to content

Commit

Permalink
Remove WAZUH_REGISTRATION_SERVER from the windows command (#6361)
Browse files Browse the repository at this point in the history
* remove WAZUH_REGISTRATION_SERVER from the windows command

* Add changelog
  • Loading branch information
asteriscos committed Jan 24, 2024
1 parent 20b4770 commit dc59dd3
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 10 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Expand Up @@ -44,6 +44,7 @@ All notable changes to the Wazuh app project will be documented in this file.
- Removed the application menu in the IT Hygiene application [#6176](https://github.com/wazuh/wazuh-dashboard-plugins/pull/6176)
- Removed the implicit filter of WQL language of the search bar UI [#6174](https://github.com/wazuh/wazuh-dashboard-plugins/pull/6174)
- Removed notice of old Discover deprecation [#6341](https://github.com/wazuh/wazuh-dashboard-plugins/pull/6341)
- Removed WAZUH_REGISTRATION_SERVER from Windows agent deployment command [#6361](https://github.com/wazuh/wazuh-dashboard-plugins/pull/6361)

## Wazuh v4.7.2 - OpenSearch Dashboards 2.8.0 - Revision 02

Expand Down
Expand Up @@ -25,16 +25,6 @@ export const getAllOptionals = (
'',
);

if (osName && osName.toLowerCase() === 'windows' && optionals.serverAddress) {
// when os is windows we must to add wazuh registration server with server address
paramsText =
paramsText +
`WAZUH_REGISTRATION_SERVER=${optionals.serverAddress.replace(
'WAZUH_MANAGER=',
'',
)} `;
}

return paramsText;
};

Expand Down

0 comments on commit dc59dd3

Please sign in to comment.