Skip to content
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

Automate arm64 Vagrant box support for Apple Silicon #1431

Merged
merged 1 commit into from
Oct 14, 2022

Conversation

swalkinshaw
Copy link
Member

Adds built-in support to automate host architecture detection and setting of arm64 specific boxes for Apple Silicon.

Previously the vagrant_box config setting would have to be manually overwritten. Now Vagrant will detect the OS architecture of the host and append -arm64 (by convention) when three conditions apply:

  1. vagrant_box_auto_arch is enabled (default: true)
  2. vagrant_box does not already end up with -arm64
  3. the OS is running on Apple Silicon

Adds built-in support to automate host architecture detection and
setting of arm64 specific boxes for Apple Silicon.

Previously the `vagrant_box` config setting would have to be manually
overwritten. Now Vagrant will detect the OS architecture of the host and
_append_ `-arm64` (by convention) when three conditions apply:

1. `vagrant_box_auto_arch` is enabled (default: true)
2. `vagrant_box` does not already end up with `-arm64`
3. the OS is running on Apple Silicon
@swalkinshaw swalkinshaw changed the title Automate arm64 Vagrant box support Automate arm64 Vagrant box support for Apple Silicon Oct 12, 2022
@swalkinshaw swalkinshaw merged commit 5fbd429 into master Oct 14, 2022
@swalkinshaw swalkinshaw deleted the vagrant-box-auto-arch branch October 14, 2022 21:01
@swalkinshaw swalkinshaw mentioned this pull request Oct 15, 2022
3 tasks
paulbrzeski pushed a commit to paulbrzeski/trellis that referenced this pull request Mar 3, 2023
Adds built-in support to automate host architecture detection and
setting of arm64 specific boxes for Apple Silicon.

Previously the `vagrant_box` config setting would have to be manually
overwritten. Now Vagrant will detect the OS architecture of the host and
_append_ `-arm64` (by convention) when three conditions apply:

1. `vagrant_box_auto_arch` is enabled (default: true)
2. `vagrant_box` does not already end up with `-arm64`
3. the OS is running on Apple Silicon
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.

3 participants