virtualboxの起動でエラーが出た時の対処法
#virtualbox
仮想マシンにホストオンリーアダプターを割り当てると起動できなくなった
起動コマンド
code:shell
VBoxManage.exe startvm foo
エラー内容
code:shell
VBoxManage.exe: error: Failed to open/create the internal network 'HostInterfaceNetworking-VirtualBox Host-Only Ethernet Adapter' (VERR_INTNET_FLT_IF_NOT_FOUND).
VBoxManage.exe: error: Failed to attach the network LUN (VERR_INTNET_FLT_IF_NOT_FOUND)
VBoxManage.exe: error: Details: code E_FAIL (0x80004005), component ConsoleWrap, interface IConsole
対処法
仮想マシンに割り当てているホストオンリーアダプターを無効化して有効化する
なぜか分からないがこれで直る