Add Multipass Setup for user_events metrics testing on Ubuntu 24.04 VM #127
+234
−0
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.
Changes
Note: I found this setup helpful for testing my latest
user_events
metrics PR, so thought of adding it. Feel free to reject the PR if this doesn't seem helpful :)Setting up the Linux kernel with user_events enabled can be challenging, especially since the latest WSL images do not yet support it. An easier alternative is to use an Ubuntu 24.04 (or greater) VM, which can be run on Hyper-V, VirtualBox, or other virtualization platforms.
This PR introduces a cloud-init.yaml configuration file for creating an Ubuntu VM using multipass, with user_events support and other required configurations for decoding
proto
packets. This setup is cross-platform, allowing developers to run it on Windows, macOS, or Linux, simplifying the environment setup process for consistent testing.Merge requirement checklist
CHANGELOG.md
files updated for non-trivial, user-facing changes