VirtualBoxアップデート後のVagrantエラー対処法
スポンサーリンク
VirtualBoxを5.2にアップデートしたのですが、その後これまで使っていたVagrantを立ち上げようとした所でエラーが発生。
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
新しくインストールしたVirtualBox 5.2が今のVagrantでサポートされていないとのこと。
vagrant --version
で今のVagrantのバージョンを確認したところ、Vagrant 1.9.5を現在使っているようです。
エラーコメントの最後に最新のVagrantなら対応してるかもとのことなので、書かれているURLにアクセス。
https://www.vagrantup.com/downloads.html
Vagrant 2.1.2がリリースされていたのでMac版をダウンロードしてファイルを実行。旧バージョンを特に消す必要もなく、簡単にバージョンアップできました。
その後、Vagrant upとすると問題なく立ち上げることができました。