Logo

dev-resources.site

for different kinds of informations.

Vagrant and VMWare Fusion in Mac M1

Published at
7/20/2024
Categories
vagrant
vmware
m1
mac
Author
theenmanuel23
Categories
4 categories in total
vagrant
open
vmware
open
m1
open
mac
open
Author
13 person written this
theenmanuel23
open
Vagrant and VMWare Fusion in Mac M1

Notes about installing Vagrant and VMWare Fusion on my Mac M1 with Sonoma.

I tried to install Vagrant along with Virtual Box on my Mac M1, but I got several errors. So I decided to use VMWare leveraging I already use it with Windows 11.

  1. Install VMWare, this is my current version:

Image description

  1. Download Vagrant and install it, I saw that you can install it via the command line using brew. I just used the package that I downloaded from here: https://developer.hashicorp.com/vagrant/install
    My current version is: 1.0.22

  2. Install Vagrant utility for VMWare:
    Vagrant Utility
    At the minute of writing down these notes the version I installed and that worked for is: 1.0.22

  3. Install the vagrant plugin, just open the terminal and execute this command: vagrant plugin install vagrant-vmware-desktop

  4. I restarted my system just in case.

  5. Verify vagrant was installed: vagrant --version

  6. Open VMWare and keep it open, just in case.

  7. Create a new directory, and create a new Vagrant file: Vagrantfile.

  8. Copy and paste this code:

    
    

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


10. Run: `vagrant up` on the directory of the newly file.
11. Add network configuration:
Enter fullscreen mode Exit fullscreen mode

Vagrant.configure("2") do |config|
config.vm.box = "spox/ubuntu-arm"
config.vm.box_version = "1.0.0"
config.vm.hostname = "testbox01"
config.vm.network "private_network", ip: "10.9.8.7"
end

12. I got an error saying something like: `Failed to create new device`
13. I found out that the error was that initialy I was using an old version of the vagrant utility for vmware: `1.0.21`, so I read this post:
https://github.com/hashicorp/vagrant/issues/12052
and there I saw that I needed to install the new version, in my case `1.0.22` which I mentioned on the point #3.

Kudos to this post: https://medium.com/@iamzamartech/create-and-manage-vms-with-vagrant-on-mac-m1-chip-d8b85eed082e, since most of the fixes or steps were taken from there.
Enter fullscreen mode Exit fullscreen mode
mac Article's
30 articles in total
Favicon
Scan Your Linux Disk and Visualize It on Mac with GrandPerspective
Favicon
Build a Mac Tool to Fix Grammar Using TypeScript, OpenAI API, and Automator
Favicon
install guile to mac
Favicon
Why is CPU usage more than 100% in Mac activity monitor?
Favicon
How to create Mac GUI applications in SPVM?
Favicon
Mac Mini M4 Storage Upgrade: NAS vs SSD upgrade – Complete Solution
Favicon
Unlock 1 Billion NYC Taxi Rides: A Step-by-Step Guide
Favicon
Cómo usar aplicaciones de Windows en Mac
Favicon
Run lunarvim in a devcontainer
Favicon
Making Your Docker Network Reachable In MacOS
Favicon
How I cleaned my MacBookPro 2015 and released 50Gb of disk space
Favicon
Sharing My Experience (Mac Users): Time to Get Rid of the Mouse with Homerow and Aerospace
Favicon
Python Project Creation on Mac OS X
Favicon
How To Solve The Problem of the Vanishing PDF Form Data
Favicon
Obsidian - How to create Daily note every day, even if I don't open it
Favicon
🍏 If I Got a New Mac, Here's What I'd Install First as a DevOps Engineer 🧑‍💻
Favicon
Run Flux.1 on M3 Mac with Diffusers
Favicon
Top Project Management Software for Mac Users: What to Choose
Favicon
Unlock Your Mac’s Full Potential: 8 Game-Changing Apps to Supercharge Your Productivity
Favicon
How I build simple Mac apps using Go
Favicon
Vagrant and VMWare Fusion in Mac M1
Favicon
Обнаружение потери пакетов
Favicon
TIL you can create keyboard shortcuts to switch between a specific desktop
Favicon
Solving frequent MacBook problems
Favicon
zsh: command not found ui5 tooling.
Favicon
Best OLM To PST Converter Software - 2024
Favicon
How To Import Mail from Mac Outlook to Windows Outlook? – Solved
Favicon
How to setup Mac for development in 2024. (Ruby on Rails and NodeJS)
Favicon
Docker Build with Mac
Favicon
How to Add VSCode path to Mac path permanently

Featured ones: