macOS Mojaveに上げたらVagrantが動かなくなった
TL;DR
- Virtual Box 再インストール
- Vagrant を再インストール
すればおk
時間がある方
タイトルの通り、macOS Mojave に上げたら Vagrant が動かなくなりました
エラー内容は以下の通り
$ vagrant up Bringing machine 'core-01' up with 'virtualbox' provider... ==> core-01: Checking if box 'coreos-alpha' is up to date... ==> core-01: A newer version of the box 'coreos-alpha' for provider 'virtualbox' is ==> core-01: available! You currently have version '1562.1.0'. The latest is version ==> core-01: '1939.0.0'. Run `vagrant box update` to update. ==> core-01: Clearing any previously set forwarded ports... ==> core-01: Clearing any previously set network interfaces... There was an error while executing `VBoxManage`, a CLI used by Vagrant for controlling VirtualBox. The command and stderr is shown below. Command: ["hostonlyif", "create"] Stderr: 0%... Progress state: NS_ERROR_FAILURE VBoxManage: error: Failed to create the host-only adapter VBoxManage: error: VBoxNetAdpCtl: Error while adding new interface: failed to open /dev/vboxnetctl: No such file or directory VBoxManage: error: Details: code NS_ERROR_FAILURE (0x80004005), component HostNetworkInterfaceWrap, interface IHostNetworkInterface VBoxManage: error: Context: "RTEXITCODE handleCreate(HandlerArg *)" at line 94 of file VBoxManageHostonly.cpp
よくわからん。。。
いろいろと探し、以下の記事を発見
にしたがって、
- Virtual Box 再インストール
- Vagrant を再インストール
して無事立ち上がるようになりました