rapid7 / metasploitable3

Metasploitable3 is a VM that is built from the ground up with a large amount of security vulnerabilities.
Other
4.72k stars 1.14k forks source link

VMWare Fusion - Vagrant Up - win2k8: 'Waiting for the VM to receive an address' does not continue #323

Open forensic65x opened 6 years ago

forensic65x commented 6 years ago

Issue Description

Vagrant up stalls while waiting to receive an address.

=====
##START PACKER BUILD COMMAND
packer build --only=vmware-iso ./packer/templates/windows_2008_r2.json

--Non fatal errors noticed with packer build listed below.

===
    vmware-iso: A system shutdown is in progress.(1115)
    vmware-iso: The interface is unknown.(1717)
===
    vmware-iso: =SilentlyContinue : The term '=SilentlyContinue' is not recognized as the name
    vmware-iso: At line:1 char:55
    vmware-iso: + ... -Path variable:global:ProgressPreference){='SilentlyContinue'};:PACKE ...
===
    vmware-iso: :PACKER_BUILD_NAME=vmware-iso : The term ':PACKER_BUILD_NAME=vmware-iso' is
    vmware-iso: not recognized as the name of a cmdlet, function, script file, or operable
 ===
    vmware-iso: Installing JRE 8.0.1810.13 64-bit
    vmware-iso: File appears to be downloaded already. Verifying with package checksum to determine if it needs to be redownloaded.
    vmware-iso: Error - hashes do not match. Actual value was '9E5E6A1C5D26D93454751E65486F728233FDAC3B50FF763F6709FB87DD960CE5'.
===
    vmware-iso: C:\Users\vagrant>copy C:\vagrant\resources\flags\six_of_diamonds.zip C:\inetpub\wwwroot
    vmware-iso: The system cannot find the path specified.
    vmware-iso:         0 file(s) copied.
===
    vmware-iso: C:\Users\vagrant>copy C:\vagrant\resources\flags\four_of_clubs.wav C:\Users\Public\Music
    vmware-iso: The system cannot find the path specified.
    vmware-iso: The system cannot find the path specified.
    vmware-iso:         1 file(s) copied.
    vmware-iso: The system cannot find the path specified.
    vmware-iso: The system cannot find the path specified.
===
vmware-iso: C:\Users\vagrant>copy C:\vagrant\resources\flags\joker.html C:\inetpub\wwwroot\index.html
    vmware-iso:         0 file(s) copied.
===
    vmware-iso: C:\Users\vagrant>copy C:\vagrant\resources\flags\hahaha.jpg C:\inetpub\wwwroot
    vmware-iso:         0 file(s) copied.
===
    vmware-iso: C:\Users\vagrant>copy C:\vagrant\resources\flags\seven_of_hearts.html C:\inetpub\wwwroot
    vmware-iso:         0 file(s) copied.
===

==> Builds finished. The artifacts of successful builds are:
--> vmware-iso: 'vmware' provider box: ../GitHub/metasploitable3/packer/templates/../builds/windows_2008_r2_vmware_0.1.0.box
===
##END PACKER BUILD COMMAND
========
## START VAGRANT ADD COMMAND
vagrant box add packer/builds/windows_2008_r2_vmware_0.1.0.box --name=metasploitable3-win2k8
==> box: Box file was not detected as metadata. Adding it directly...
==> box: Adding box 'metasploitable3-win2k8' (v0) for provider: 
    box: Unpacking necessary files from: file:///GitHub/metasploitable3/packer/builds/windows_2008_r2_vmware_0.1.0.box
==> box: Successfully added box 'metasploitable3-win2k8' (v0) for 'vmware_desktop'!
MacBook-Pro:metasploitable3 $ vagrant up win2k8
Bringing machine 'win2k8' up with 'vmware_fusion' provider...
==> win2k8: Cloning VMware VM: 'metasploitable3-win2k8'. This can take some time...
==> win2k8: Verifying vmnet devices are healthy...
==> win2k8: Preparing network adapters...
WARNING: The VMX file for this box contains a setting that is automatically overwritten by Vagrant
WARNING: when started. Vagrant will stop overwriting this setting in an upcoming release which may
WARNING: prevent proper networking setup. Below is the detected VMX setting:
WARNING: 
WARNING:   ethernet0.pcislotnumber = "33"
WARNING: 
WARNING: If networking fails to properly configure, it may require this VMX setting. It can be manually
WARNING: applied via the Vagrantfile:
WARNING: 
WARNING:   Vagrant.configure(2) do |config|
WARNING:     config.vm.provider :vmare_fusion do |vmware|
WARNING:       vmware.vmx["ethernet0.pcislotnumber"] = "33"
WARNING:     end
WARNING:   end
WARNING: 
WARNING: For more information: https://www.vagrantup.com/docs/vmware/boxes.html#vmx-whitelisting
==> win2k8: Starting the VMware VM...
==> win2k8: Waiting for the VM to receive an address...
## END VAGRANT ADD

##START VAGRANT ADD WITH --FORCE
vagrant box add packer/builds/windows_2008_r2_vmware_0.1.0.box --name=metasploitable3-win2k8 --force

#no errors when using --force
##END VAGRANT ADD WITH --FORCE
========
## START VAGRANT PLUGIN
vagrant plugin install vagrant-reload
# no errors
## END VAGRANT PLUGIN

Host System

Command Output

Copy the relevant command output here. If it's long, either post to a gist and add the link here, or isolate the error lines.

vagrant up win2k8
Bringing machine 'win2k8' up with 'vmware_fusion' provider...
==> win2k8: Cloning VMware VM: 'metasploitable3-win2k8'. This can take some time...
==> win2k8: Verifying vmnet devices are healthy...
==> win2k8: Preparing network adapters...
==> win2k8: Starting the VMware VM...
==> win2k8: Waiting for the VM to receive an address..
MartinSchillinger commented 6 years ago

Same Problem on a Windows 10 host.