Vagrant エラー「No usable default provider could be found for your system」が発生した場合の対処法

Vagrant エラー「No usable default provider could be found for your system」が発生した場合の対処法

Vagrantを利用してvirtualboxにCentOS9をインストールするまでの手順を記述してます。

環境

  • OS windows11 home
  • Vagrant 2.3.1
  • VirtualBox 7.0.0

エラー全文

「up」を実行時に発生

> 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」が「VirtualBox(7.0.0)」に対応していないため発生

対処法

現行をアンインストールして、対応しているバージョンをインストールする

自分の場合は、こちらのページから「バージョン6」をインストールして解決しました。