Vagrant Vmware Fusion

Posted onby admin
  • License it with vagrant plugin license vagrant-vmware-desktop. Additionally, the Vagrant VMware Utility must also be installed If you have both Virtualbox and VMware installed, consider disabling the network adapters for the provider that you are not using.
  • No, also with the default network card there is the same gap on first boot. My Win10 box has VMware Tools 9.9.3 installed. It seems to me a problem with the VMware Tools or the Windows 10 support of VMware Fusion 7.1.2.

Yesterday I had some fun getting Vagrant + boot2docker working on my mac with VMware Fusion. It really wasn't all that hard but some people have had some issues so I'll document my steps. I chose to use VMware Fusion instead of VirtualBox for Vagrant because I don't need 2 products that essentially do the same thing. At the same time, Fusion has reported better consistency with experience and performance time and time again.

Rencontre Marie Mai, Partnersuche Hessen, Singles Westerburg, Hoe Flirten Via Whatsapp. VMware Fusion delivers the best way to run Windows on the Mac, and the ultimate development and testing tool for building apps to run on any platform. Ready for macOS 11.0 Big Sur, Fusion 12 supports macOS 10.15 Catalina and includes new features for developers, IT admins and everyday users.

1. Install Vagrant

  • Go to the Vagrant Website downloads and install the vagrant package. That should have been relatively simple

2. Create a Vagrant directory

  • I created a Vagrant directory under my Documents folder. /Users/kcoleman/Documents/Vagrant
  • You will use this directory to place vagrant files

Vagrant Vmware Plugin License

3. Buy the vSphere Vagrant Plugin License

  • Yeah, VirtualBox sucks and I would rather pay the $80 convienance fee. So purchase your .lic
  • Place the .lic in the Vagrant folder from step 2

4. Install the Vagrant vSphere Provider and your license

Vagrant Vmware Fusion Provider

  • Open up the Terminal app on your mac

5. Create a a directory called boot2docker inside of the Vagrant directory

Vagrant Vmware FusionVagrant Vmware FusionVagrant vmware fusion free
  • the folder structure should be /Users/*yourname*/Documents/Vagrant/boot2docker
Vagrant-vmware-fusion license.lic download

6. Within the terminal, change to your boot2docker directory and run the following init and then vagrant up. We are using mitchellh's repo

7. Now we can ssh into our boot2docker box from this directory

This is running boot2socker v0.8. The latest is v 1.1.2. But the gist of it hasn't changed. Hopefully mitchellh will update he repo soon to use the latest. ISO Build file says it should be using v1.1.1 but boot2docker v0.8 is loading. I haven't taken the time to explore a fix.

Supported Provisioners

  • Virtualbox
  • A licensed copy of VMware Fusion
    • The VMWare Desktop Vagrant plugin is $79 and is required to use Vagrant with VMware.
    • Install it with vagrant plugin install vagrant-vmware-desktop.
    • License it with vagrant plugin license vagrant-vmware-desktop <path_to_.lic>.
    • Additionally, the Vagrant VMware Utility must also be installed

Vagrant Vmware Provider

If you have both Virtualbox and VMware installed, consider disabling the network adapters for the provider that you are not using. For example, if you want to build DetectionLab using Virtualbox, disable the VMware network adatpers (or vice-versa) to avoid a conflict.

Vagrant Vmware Utility

Instructions

  1. Ensure the prerequisites listed above are installed and that you meet the system requirements
  2. Clone the DetectionLab repo to your filesystem: git clone https://github.com/clong/DetectionLab.git
  3. Using a terminal, navigate to the DetectionLab/Vagrant repository and run ./prepare.sh to verify that your system has all of the prerequisites installed:

At this point in time, we can bring up DetectionLab using the vagrant up --provider=<provider> command. The provider options are virtualbox or vmware_desktop.

Vagrant Vmware Fusion Login

You shouldn’t need to sudo any of the vagrant commands. Doing so can cause permission issues down the road.

When we run Vagrant up, here’s what happens:

  1. Vagrant will bring up one host at a time, starting with logger and followed by dc, wef, and win10.
  2. Three boxes will be downloaded from Vagrant cloud:
  3. Each box will go through provisioning, which configures the host and installs software.

After running vagrant up --provider=vmware_desktop or vagrant up --provider=virtualbox, you should see something like this:

If all goes well, this process should continue for 1-2 hours depending on your computer and network speed. The boxes are very large, but only need to be downloaded once.

If for some reason you encounter an error or any issues, checkout the troubleshooting page linked below. If you can’t find an answer to your question, please open an issue on the DetectionLab GitHub!

Troubleshooting

Visit the troubleshooting page.