После обновления на Ubuntu 18.04 и VirtualBox 5.2, при запуске команды
vagrant up
появлялась следующая ошибка
No usable default provider could be found for your system.
Vagrant relies on interactions with 3rd party systems, known as
"providers", to provide Vagrant with resources to run development
environments. Examples are VirtualBox, VMware, Hyper-V.
The easiest solution to this message is to install VirtualBox, which
is available for free on all major platforms.
If you believe you already have a provider available, make sure it
is properly installed and configured. You can see more details about
why a particular provider isn't working by forcing usage with
`vagrant up --provider=PROVIDER`, which should give you a more specific
error message for that particular provider.
Выполнение указанной команды
vagrant up --provider=virtualbox
также не давало никакого результата.
В решении проблемы помогло обновление Vagrant с официального сайтадо последней версии, в данный момент это Vagrant (2.1.1)
Как обновить Vagrant для Ubuntu 18.04 64 bit
cd /tmp
wget https://releases.hashicorp.com/vagrant/2.1.1/vagrant_2.1.1_x86_64.deb
dpkg -i vagrant_2.1.1_x86_64.deb
Далее «чиним» и обновляем плагины
vagrant plugin repair
vagrant plugin update
Be First to Comment