Skip to content

fix: improve vagrant-qemu configuration for Apple Silicon - #1

Open
NormB wants to merge 1 commit into
mainfrom
fix/vagrant-qemu-config
Open

fix: improve vagrant-qemu configuration for Apple Silicon#1
NormB wants to merge 1 commit into
mainfrom
fix/vagrant-qemu-config

Conversation

@NormB

@NormB NormB commented Dec 30, 2025

Copy link
Copy Markdown
Owner

Summary

  • Configured unique SSH ports per VM (52222-52224) to avoid port collisions
  • Set up HVF acceleration with recommended Apple Silicon settings
  • Use generic/debian12 ARM64 box (properly downloads as arm64 architecture)
  • Increased boot timeout to 1200s for slower first boots
  • Documented known issues with SSH timeouts during boot
  • Added alternative virtualization approaches (VirtualBox 7.1+, UTM, Lima)

Problem

vagrant-qemu was failing to boot VMs due to:

  1. SSH port collisions when starting multiple VMs
  2. Incompatible CPU model configuration
  3. Boot timeouts during initial VM provisioning

Test plan

  • Vagrantfile syntax validation
  • Full VM boot test (requires longer timeout)
  • SSH connectivity test

Notes

The vagrant-qemu setup on Apple Silicon has known challenges with certain box images. Alternative approaches documented in README if issues persist.

- Use unique SSH ports per VM (52222-52224) to avoid port collisions
- Configure HVF acceleration with recommended settings
- Use generic/debian12 ARM64 box (proven to download correctly)
- Increase boot timeout to 1200s for slow first boots
- Document known issues with SSH timeouts during boot
- Add alternative virtualization approaches (VirtualBox 7.1+, UTM, Lima)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant