I’ve not too long ago upgraded from an Intel MBP to an M2 MBP. So I needed to replace my Vagrant. Studying round led me to first obtain the most recent VMware Fusion Tech Preview, then replace my Vagrant set up. I selected to uninstall current Vagrant stuff, & begin from scratch…
brew set up --cask vagrant
brew set up --cask vagrant-vmware-utility
brew set up --cask vagrant-manager
vagrant plugin set up vagrant-share
vagrant plugin set up vagrant-vmware-desktop
I began with Vagrantfile
…
# -*- mode: ruby -*-
# vi: set ft=ruby :
# Variables
MEMORY = 4096
CPUS = 1
VM_IP = "192.168.98.99"
Vagrant.configure("2") do |config|
config.vm.field = "bento/ubuntu-20.04-arm64"
config.vm.supplier "vmware_desktop" do |v|
v.reminiscence = MEMORY
v.cpus = CPUS
finish
config.vm.community "private_network", ip: VM_IP
finish
I run vagrant up
& get…
An error occurred whereas executing `vmrun`, a utility for controlling
VMware machines.
Trying to find solutions to that, I discovered this & this, each saying I needed to set v.gui = true
in my Vagrantfile
. That works, nevertheless it requires having VMware Fusion operating, which opens a window that should stay open for the lifetime of the VM session.
Is there any approach to run Vagrant with out having a VMware Fusion GUI (with v.gui = false
)?