Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixed install macOS agent commands (#5888)
### Description Fix the macOS installation command Closes #5886 ## Evidence ## Intel (intel64) ![Captura de pantalla 2023-09-12 a la(s) 13 57 12](https://github.com/wazuh/wazuh-kibana-app/assets/6089438/fbdef941-d0c8-4d61-a1ec-922877132329) ![Captura de pantalla 2023-09-12 a la(s) 13 57 21](https://github.com/wazuh/wazuh-kibana-app/assets/6089438/d4c695d0-8ea2-4fc6-b6b2-7e0759aba6fa) ```bash curl -so wazuh-agent.pkg https://packages.wazuh.com/4.x/macos/wazuh-agent-4.6.0-1.intel64.pkg && echo "WAZUH_MANAGER='0.0.0.0' && WAZUH_AGENT_NAME='agent-name'" > /tmp/wazuh_envs && sudo installer -pkg ./wazuh-agent.pkg -target / ``` ### Command output <img width="722" alt="Captura de pantalla 2023-09-12 a la(s) 13 50 56" src="https://github.com/wazuh/wazuh-kibana-app/assets/6089438/9f8153be-dda7-4a6e-a016-949f61a0b53e"> ### ossec.conf with parameters specified <img width="521" alt="Captura de pantalla 2023-09-12 a la(s) 13 50 35" src="https://github.com/wazuh/wazuh-kibana-app/assets/6089438/3c7ac29a-ad67-4407-962f-cf1d03967efd"> ## Apple silicon (arm64) ![Captura de pantalla 2023-09-12 a la(s) 13 57 52](https://github.com/wazuh/wazuh-kibana-app/assets/6089438/767aedd3-9611-4462-b5e7-a25390f3f057) ![Captura de pantalla 2023-09-12 a la(s) 13 58 11](https://github.com/wazuh/wazuh-kibana-app/assets/6089438/3fe3d61d-6511-41a5-be80-dcdb24713bd3) ```bash curl -so wazuh-agent.pkg https://packages.wazuh.com/4.x/macos/wazuh-agent-4.6.0-1.arm64.pkg && echo "WAZUH_MANAGER='0.0.0.0' && WAZUH_AGENT_NAME='agent-name'" > /tmp/wazuh_envs && sudo installer -pkg ./wazuh-agent.pkg -target / ``` ### Command output <img width="682" alt="image" src="https://github.com/wazuh/wazuh-kibana-app/assets/6089438/e9572921-cf1b-4151-ba42-fa8e321b67d3"> ### ossec.conf with parameters specified <img width="533" alt="image" src="https://github.com/wazuh/wazuh-kibana-app/assets/6089438/eb0d4a5a-8495-4056-bc88-a101b6eab447"> ### Test 1. Go to Agents section 2. Click Deploy new agent button 3. Select macOS operting system and complete the form 4. Check the installation and start commands ### Check List - [x] All tests pass - [x] `yarn test:jest` - [x] New functionality includes testing. - [x] New functionality has been documented. - [x] Update [CHANGELOG.md](./../CHANGELOG.md) - [x] Commits are signed per the DCO using --signoff
- Loading branch information