Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save schrenker/ffe19ebcc010a9517f2a992661c5c02d to your computer and use it in GitHub Desktop.
Save schrenker/ffe19ebcc010a9517f2a992661c5c02d to your computer and use it in GitHub Desktop.
Vagrant and VMWare Tech Preview on Apple M1 Pro

Vagrant and VMWare Tech Preview on Apple M1 Pro

Installing Rosetta

/usr/sbin/softwareupdate --install-rosetta --agree-to-license

Installing Vagrant

Install Vagrant via brew:

brew install vagrant

Installing VMWare Fusion Tech Preview

You will need to create an account on vmware as it needs user and key information that are user specific. The registration process is kinda convoluted. Be careful about passwords as the password needs to be less than 20 characters and there are no error messages for this.

You can download the tech preview via the download page.

Once this is installed you will NEED to create a symlink as the vagrant vmware utility etc.. assumes that vmware is installed in a specific directory and the tech preview is installed in a different one.

ln -s /Applications/VMWare\ Fusion\ Tech\ Preview.app /Applications/VMWare\ Fusion.app

Installing Vagrant VMWare provider

Go to Vagrant VMWare Utility, this is necessary to use a VMWare provider. The code seems to be targeted for x86 but it works.

Go to Vagrant vmware Utility and download the binary and install it. It says x86_64 but it is fine.

The direct link is:

https://releases.hashicorp.com/vagrant-vmware-utility/1.0.21/vagrant-vmware-utility_1.0.21_x86_64.dmg

It needs to be version 1.0.21

Install the provider:

vagrant plugin install vagrant-vmware-desktop

Create a Vagrant file

Create a file Vagrantfile

Vagrant.configure("2") do |config|
  config.vm.box = "spox/ubuntu-arm"
  config.vm.box_version = "1.0.0"
end

Run vagrant

vagrant up

and then

vagrant ssh

Hopefully this should work and you should find yourself with mostly everything working.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment