-
Notifications
You must be signed in to change notification settings - Fork 2
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
Reworked the OVA workflow,creation process and upgraded base OS #170
Merged
teddytpc1
merged 47 commits into
4.11.0
from
bug/147-upgrade-the-ova-base-os-and-the-build-ova-workflow-to-use-al2023
Jan 23, 2025
Merged
Reworked the OVA workflow,creation process and upgraded base OS #170
teddytpc1
merged 47 commits into
4.11.0
from
bug/147-upgrade-the-ova-base-os-and-the-build-ova-workflow-to-use-al2023
Jan 23, 2025
+599
−196
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
… in ansible tasks
…erytime in the playbook
… filename of the ova
…ild-ova-workflow-to-use-al2023
teddytpc1
approved these changes
Jan 23, 2025
fcaffieri
approved these changes
Jan 23, 2025
teddytpc1
deleted the
bug/147-upgrade-the-ova-base-os-and-the-build-ova-workflow-to-use-al2023
branch
January 23, 2025 19:19
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Related issue
Build OVA workflow
to use AL2023 #147Description
This PR aims to change the base OS for the Wazuh OVA from Amazon Linux 2 to Amazon Linux 2023.
This change required many other changes in the OVA creation process.
Previously, the OVA creation process consisted of creating an instance in AWS, installing Wazuh and making some configurations and using AWS EC2 to export that instance as an OVA. This meant that we could completely forget about this process since it was automated by AWS.
When changing the base operating system, AWS EC2 does not support the export of instances with Amazon Linux 2023 so we had to implement the process by hand.
In the OVA Spike issue this problem and possible solutions were fully developed and explained.
The solution we have chosen is to create an instance of type metal in AWS EC2 and within this create a VM in which Wazuh is installed and the relevant configurations are made. This VM is then exported with VirtualBox as OVA and uploaded to the S3 bucket from the Github Actions runner.
The step-by-step process of each day is described in the related issue.
Tests
Tests were made in these two workflow runs:
Resulting in the OVA successfully created and tested as can be seen in the following screenshots:
Tests in VirtualBox
Tests in vmWare