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

Require Vagrant < 2.2.19 #1332

Merged
merged 1 commit into from
Dec 10, 2021
Merged

Require Vagrant < 2.2.19 #1332

merged 1 commit into from
Dec 10, 2021

Conversation

swalkinshaw
Copy link
Member

2.2.19 has a bug affecting macOS Big Sur and should be avoided.

2.2.19 has a bug affecting macOS Big Sur and should be avoided.
@swalkinshaw swalkinshaw merged commit 6281210 into master Dec 10, 2021
@swalkinshaw swalkinshaw deleted the specify-max-vagrant-version branch December 10, 2021 13:36
@tomektomczuk
Copy link

I'm on Vagrant 2.2.19 as this is necessary to run Trellis on MacOS Monterey without any problems.

@swalkinshaw
Copy link
Member Author

@tomektomczuk I've been following hashicorp/vagrant#12557 but is there anything specific in 2.2.19 that's needed for Trellis?

I also noticed that VB 6.1.30 is out now which I assume fixes a few of these issues.

@tomektomczuk
Copy link

Yes 6.1.30 and 2.2.19 fixed all the issues from that post. All you need is networks.conf file inside etc/vbox folder with this entry * 0.0.0.0/0 ::/0

@swalkinshaw
Copy link
Member Author

The IP address configured for the host-only network is not within the
allowed ranges. Please update the address used to be within the allowed
ranges and run the command again.

  Address: 192.168.50.5
  Ranges: 192.168.56.0/21

Valid ranges can be modified in the /etc/vbox/networks.conf file. For
more information including valid format see:

  https://www.virtualbox.org/manual/ch06.html#network_hostonly
exit status 1

Should Trellis just change the default IP to avoid this?

@swalkinshaw
Copy link
Member Author

2.2.19 still seems broken even on Monterey unfortunately 😞

I get the same error message that others do on Big Sur:

/opt/vagrant/embedded/gems/2.2.19/gems/vagrant-2.2.19/plugins/hosts/darwin/cap/path.rb:20:in `resolve_host_path': uninitialized constant VagrantPlugins::HostDarwin::Cap::Version (NameError)

@tomektomczuk
Copy link

tomektomczuk commented Dec 11, 2021 via email

@swalkinshaw
Copy link
Member Author

I understand there's a "fix", but unfortunately there's no version that's completely working right now for either Big Sur or Monterey.

I ran brew reinstall vagrant 🤷‍♂️

@tomektomczuk
Copy link

tomektomczuk commented Dec 11, 2021 via email

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