Giter VIP home page Giter VIP logo

Comments (7)

StefanScherer avatar StefanScherer commented on May 25, 2024 5

I tried it in a fresh macOS.

  • install brew
  • brew install packer
  • brew cask install vmware-fusion
  • Open VMware Fusion
  • go into system preferences -> Security -> allow VMware, Inc.
  • quit VMware Fusion
  • open VMware Fusion again
  • ls "/Library/Preferences/VMware Fusion/networking" shows me that file.
  • after that I was able to run a packer build.

from docker-windows-box.

StefanScherer avatar StefanScherer commented on May 25, 2024

Thanks for the pull request.

VMware Fusion (Pro) needs a license. After installing it with brew cask install vmware-fusion you need to open the app at least once to start the 30 day trial. This also adds missing network cards vmnet1 and vmnet8.

I hope that helps.

from docker-windows-box.

timotheecour avatar timotheecour commented on May 25, 2024

thanks; after opening app and starting 30 day trial, still getting this error.
also tried hashicorp/vagrant#8285 (comment) with no success

from docker-windows-box.

timotheecour avatar timotheecour commented on May 25, 2024

thanks! that did work :)
for the next steps:

  • brew cask install vagrant was needed (maybe add it to README?)

  • vagrant up failed with A Vagrant environment or target machine is required to run this
    so I ran vagrant init which creates a Vagrantfile; maybe mention it in README?

  • then: vagrant up gives:

No usable default provider could be found for your system.
Vagrant relies on interactions with 3rd party systems, known as
"providers", to provide Vagrant with resources to run development
environments. Examples are VirtualBox, VMware, Hyper-V.

not sure if I'm doing this right...

from docker-windows-box.

StefanScherer avatar StefanScherer commented on May 25, 2024

Thanks for the feedback.
When I started this repo I was years into Vagrant, so that's the difficult part writing a README.md for others that are just starting with Vagrant. :-)

As you go down the road with vmware-fusion you need to know that you will need a paid Vagrant VMware license, see https://www.vagrantup.com/vmware/index.html for more details.
You would need a helper ( brew cask install vagrant-vmware-utility) and the VMware plugin ( vagrant plugin install vagrant-vmware-desktop and vagrant license vagrant-vmware-desktop license.lic).

If you want to use Vagrant for free you could use VirtualBox (brew cask install virtualbox).

I don't know if all these steps can be covered in the README, as Vagrant can be used on at least three major OS (Windows, Mac, Linux) with different hypervisors.

from docker-windows-box.

StefanScherer avatar StefanScherer commented on May 25, 2024

Are you still going the VMware path or do you think it's easier for you to start with VirtualBox?

from docker-windows-box.

StefanScherer avatar StefanScherer commented on May 25, 2024

Closing due to inactivity.

from docker-windows-box.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.