This repo aims to provision Ubuntu virtual machines (VMs) with Vagrant and VMware Fusion on Apple Silicon (M1/M2).
Since VMware Fusion only supports running ARM on ARM, the Vagrant Box used in this repo is bento/ubuntu-20.04-arm64
which is a Ubuntu-ARM64 box, instead of x86.
.
├── README.md
├── Vagrantfile
└── scripts
├── collect-host-ip.sh
└── setup-hosts.sh
1 directory, 4 files
Provision VMs.
cd vagrant-vmware-arm
vagrant status
vagrant up
SSH to the VMs.
vagrant ssh [hostname]
Suspend the VMs.
vagrant suspend
If you encountered the following error when running the vagrant commands.
Vagrant encountered an unexpected communications error with the
Vagrant VMware Utility driver. Please try to run the command
again. If this error persists, please open a new issue at:
https://github.com/hashicorp/vagrant-vmware-desktop/issues
Try to upgrade Vagrant and the Vagrant Utility to the latest version.
# upgrade vagrant
brew update && brew upgrade hashicorp-vagrant
# upgrade vagrant utility
brew update && brew upgrade vagrant-vmware-utility