-
Notifications
You must be signed in to change notification settings - Fork 277
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
ARM64 Support for Vagrant Configuration #504
Comments
When I switched from an Intel Mac to Apple Silicon, I ran into the problem of VirtualBox not working. I tried a bunch of workarounds but none of them really did the trick. In the end, I gave up and switched to using Vagrant + libvirt on a Linux server or just went straight to Terraform with Spot instances in the cloud. That said, I recently noticed that the latest release of VirtualBox has started offering ARM64 support, which is really exciting. We’ll need ARM64-compatible boxes for EL/8, EL/9, Debian 12, Ubuntu 22, and Ubuntu 24 to achieve full Vagrant ARM64 support. I’m currently on vacation, but I’ll start looking into this next week to see if we can make some progress. If you have any practical suggestions or would like to submit a PR, I’d love to hear from you!
|
Linked to this issue, that I have just raised:
|
First, I want to express my sincere appreciation for Pigsty - it's an incredibly well-designed alternative RDS solution, and the Vagrant configuration has been invaluable for local development and testing.
Issue Description
When running the Vagrant configuration on an Apple Silicon (ARM64) machine, I encountered a few challenges that required modifications to make it work. Note that I didn't want to use rosetta for x86 emulation . The main issues were:
generic/rocky9
box doesn't support ARM64 architectureSolution Implementation
Here's how I got it working:
Replaced the base box:
generic/rocky9
net9/ubuntu-24.04-arm64
Modified VirtualBox customization commands:
The error was resolved by removing the unsupported virtualization parameters that aren't applicable to ARM architecture.
Suggestion for Best Practices
For better cross-platform compatibility, perhaps we could:
Add conditional box selection based on architecture:
Make VirtualBox customizations architecture-aware:
This would maintain the original functionality for x86_64 systems while adding ARM64 support.
Would you consider adding these modifications to support developers using Apple Silicon machines?
The text was updated successfully, but these errors were encountered: