TL;DR
vagrant plugin update
コマンドを実行し関連するプラグイン(今回の場合vagrant-vbguest
)をアップデートするといけた
vagrant up
時にエラー発生
vagrant up
した際に以下のようなエラーが発生
The guest machine entered an invalid state while waiting for it
to boot. Valid states are 'starting, running'. The machine is in the
'unknown' state. Please verify everything is configured
properly and try again.
If the provider you're using has a GUI that comes with it,
it is often helpful to open that and watch the machine, since the
GUI often has more helpful error messages than Vagrant can retrieve.
For example, if you're using VirtualBox, run `vagrant up` while the
VirtualBox GUI is open.
The primary issue for this error is that the provider you're using
is not properly configured. This is very rarely a Vagrant issue.
なんか
This is very rarely a Vagrant issue.
らしい
解決方法
vagrant plugin update
で関連するpluginのバージョンをあげてみたらうまく動くようになりました
>vagrant plugin update
Updating installed plugins...
Fetching: vagrant-vbguest-0.18.0.gem (100%)
Successfully uninstalled vagrant-vbguest-0.17.2
Updated 'vagrant-vbguest' to version '0.18.0'!
vagrant-vbguest
が古かったみたいなのが原因らしかったです
ほかにも
vagrant plugin repair
という既存プラグインの修復を試みるコマンドもあるのでこれを先に試してみてもいいかもしれません。
>vagrant plugin repair
Repairing currently installed global plugins. This may take a few minutes...
Installed plugins successfully repaired!
おわり
- なんかWindowsUpdateが来るたびに起動しなくなるきがする