-
Notifications
You must be signed in to change notification settings - Fork 186
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
Change macOS register agent installation script #5481
Conversation
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The backport to
To backport manually, run these commands in your terminal: # Fetch latest updates from GitHub
git fetch
# Create a new working tree
git worktree add .worktrees/backport-4.4-7.16 4.4-7.16
# Navigate to the new working tree
cd .worktrees/backport-4.4-7.16
# Create a new branch
git switch --create backport-5481-to-4.4-7.16
# Cherry-pick the merged commit of this pull request and resolve the conflicts
git cherry-pick -x --mainline 1 3200cc9e50d78bc934786edf02625f3ee2a2cdd0
# Push it to GitHub
git push --set-upstream origin backport-5481-to-4.4-7.16
# Go back to the original working tree
cd ../..
# Delete the working tree
git worktree remove .worktrees/backport-4.4-7.16 Then, create a pull request where the |
The backport to
To backport manually, run these commands in your terminal: # Fetch latest updates from GitHub
git fetch
# Create a new working tree
git worktree add .worktrees/backport-4.4-7.10 4.4-7.10
# Navigate to the new working tree
cd .worktrees/backport-4.4-7.10
# Create a new branch
git switch --create backport-5481-to-4.4-7.10
# Cherry-pick the merged commit of this pull request and resolve the conflicts
git cherry-pick -x --mainline 1 3200cc9e50d78bc934786edf02625f3ee2a2cdd0
# Push it to GitHub
git push --set-upstream origin backport-5481-to-4.4-7.10
# Go back to the original working tree
cd ../..
# Delete the working tree
git worktree remove .worktrees/backport-4.4-7.10 Then, create a pull request where the |
* Change set environment variables for macOS * Add changelog (cherry picked from commit 3200cc9)
* Change set environment variables for macOS * Add changelog (cherry picked from commit 3200cc9)
Description
Hi team,
this pull request changes the register agent installation script for macOS. It sets de environment variables to the
/tmp/wazuh_envs
Issues Resolved
Closes #5466
Evidence
Test
echo -e "" > /tmp/wazuh_envs
echo -e "" > /tmp/wazuh_envs
with environmental variables like this:Check List
yarn test:jest