Установите Vagrant 2.2.6 на OSX 10.15.2 Catalina - PullRequest
1 голос
/ 08 января 2020

Как установить vagrant на OSX 10.15.2?

После установки virtualbox и vagrant:

brew cask install virtualbox   # installs version 6.1
brew cask install vagrant      # installs version 2.2.6

Я сталкиваюсь с этой ошибкой при запуске vagrant:

The provider 'virtualbox' that was requested to back the machine
'default' is reporting that it isn't usable on this system. The
reason is shown below:

Vagrant has detected that you have a version of VirtualBox installed
that is not supported by this version of Vagrant. Please install one of
the supported versions listed below to use Vagrant:

4.0, 4.1, 4.2, 4.3, 5.0, 5.1, 5.2, 6.0

A Vagrant update may also be available that adds support for the version
you specified. Please check www.vagrantup.com/downloads.html to download
the latest version.

1 Ответ

1 голос
/ 21 января 2020

Vagrant 2.2.6 не поддерживает VirtualBox 6.1. Вы можете установить VirtualBox 6.0 (который поддерживается) с более старой версией скрипта бочка Virtualbox, например:

brew cask install https://raw.githubusercontent.com/Homebrew/homebrew-cask/7e703e0466a463fe26ab4e253e28baa9c20d5f36/Casks/virtualbox.rb

Vagrant 2.2.7 будет включать поддержку Virtualbox 6.1, но на момент написания не выпущено еще: https://github.com/hashicorp/vagrant/issues/11249

Добро пожаловать на сайт PullRequest, где вы можете задавать вопросы и получать ответы от других членов сообщества.
...