Vagrant: VMware "vmnet" デバイスが起動しません。

Vagrant: VMware

私はVagrantにHashiCorpの「vagrant-vmware-fusion」5.0.4公式プラグインをインストールしました。

私はHigh Sierraで実行されているVMWare Fusion 10でVagrantを使用しています。

しかし、vagrant up仮想マシンに対してこれを実行するとエラーが発生しました。

エラーメッセージのアドバイスに従って再起動しましたが、エラーは引き続き発生します。

何をすべきか?

$ vagrant up --provider vmware_fusion
Bringing machine 'default' up with 'vmware_fusion' provider...
==> default: Box 'hashicorp/precise64' could not be found. Attempting to find and install...
    default: Box Provider: vmware_desktop, vmware_fusion, vmware_workstation
    default: Box Version: >= 0
==> default: Loading metadata for box 'hashicorp/precise64'
    default: URL: https://vagrantcloud.com/hashicorp/precise64
==> default: Adding box 'hashicorp/precise64' (v1.1.0) for provider: vmware_fusion
    default: Downloading: https://vagrantcloud.com/hashicorp/boxes/precise64/versions/1.1.0/providers/vmware_fusion.box
==> default: Successfully added box 'hashicorp/precise64' (v1.1.0) for 'vmware_fusion'!
==> default: Cloning VMware VM: 'hashicorp/precise64'. This can take some time...
==> default: Checking if box 'hashicorp/precise64' is up to date...
==> default: Verifying vmnet devices are healthy...
The VMware "vmnet" devices are failing to start. The most common
reason for this is collisions with existing network services. For
example, if a hostonly network space collides with another hostonly
network (such as with VirtualBox), it will fail to start. Likewise,
if forwarded ports collide with other listening ports, it will
fail to start.

Vagrant does its best to fix these issues, but in some cases it
cannot determine the root cause of these failures.

Please verify you have no other colliding network services running.
As a last resort, restarting your computer often fixes this issue.

ベストアンサー1

数回再起動したvagrant up後、コマンドを呼び出す前に「VMware Fusion」を実行して運を試してみることにしました。

動作します。 VMWare Fusionが起動していないため、VMを展開するvagrant upにはそれを実行する必要があります。vagrant up

結局のところ、エラーメッセージはより明確になるかもしれません。

おすすめ記事