boxcutter / ubuntu

Virtual machine templates for Ubuntu written in legacy JSON
Apache License 2.0
739 stars 374 forks source link

VMWare workstation ubuntu 18.04 box waiting to receive an address #166

Closed mtbvang closed 5 years ago

mtbvang commented 5 years ago

I have built both the desktop and non desktop vmware boxes for ubuntu 18.04 with

packer build -only=vmware-iso -var-file=ubuntu1804-desktop.json ubuntu.json packer build -only=vmware-iso -var-file=ubuntu1804.json ubuntu.json

When I do a vagrant up both boxes just hangs the following step (I've waited for up t 30 mins):

All Plugin Dependencies already installed Bringing machine 'default' up with 'vmware_desktop' provider... ==> default: Cloning VMware VM: 'localdev/ubuntu1804-desktop'. This can take some time... ==> default: Verifying vmnet devices are healthy... ==> default: Preparing network adapters... ==> default: Starting the VMware VM... ==> default: Waiting for the VM to receive an address...

Has anyone else gotten it working? It seems like there's something missing in the boxes I'm building to get the networking working.

I tried switching to the Salmon/Centos-7 and the generic/ubuntu1804 box as a test and they both come up fine, so that rules out vagrant and the vmware plugin.

I'm using the vagrant 2.1.5, vmware desktop plugin vagrant-vmware-desktop (2.0.2, global).

mtbvang commented 5 years ago

I eventually got things to work by uninstalling vmware and vagrant. When reinstalling vagrant on windows 10 I upgraded to v 2.2.2.

vagrant-vmware-desktop (2.0.2, global)