a stray sheep

お仕事周りの雑記帳

vagrant up すると、SSH auth method: private key で止まる!

状況

久々にvagrant を使って、仮想マシンを作ろうとするがうまくいかない。
どのOSや提供元(centos, bento, ...)を選んでも失敗する。

失敗するところ

vagrant up 中の「SSH auth method: private key 」で止まる。
そして、タイムアウトする。以下のメッセージが出た。

Timed out while waiting for the machine to boot. This means that Vagrant was unable to communicate with the guest machine within the configured ("configu.vm.boot_timeout" value) time period.
...

解決策

「仮想プラットフォーム」をオフにする(下図、参照)ことで解決した。(要再起動)

f:id:belial6:20220417215658p:plain

※「コントロールパネル」→「プログラムと機能」→「Windowsの機能の有効化または無効化」で確認。以前、Windows上のLinux環境「WSL」を入れてみたことがあったので、そのせいかな!?