vagrant
vagrant copied to clipboard
Vagrant up fails with VMWare + Mac M1
Hey! Running Vagrant 2.4.1 on my Mac M1. I have VMWare installed, and have run vagrant plugin install vagrant-vmware-desktop
and brew install --cask vagrant-vmware-utility
. Unfortunate I constantly get this error when running vagrant up --provider vmware_desktop
:
✗ vagrant up --provider vmware_desktop
Bringing machine 'default' up with 'vmware_desktop' provider...
==> default: Checking if box 'centos/7' version '2004.01' is up to date...
==> default: Verifying vmnet devices are healthy...
==> default: Preparing network adapters...
==> default: Starting the VMware VM...
Vagrant timed out while trying to start the VMware machine. This
error is caused by VMware never successfully starting the machine.
This can often be fixed by simply retrying. If the error persists,
please verify that VMware is functional. This is not a Vagrant
issue.
Here is my Vagrantfile:
Vagrant.configure("2") do |config|
config.vm.box = "centos/7"
config.vm.network "public_network", bridge: "wlp0s20f3"
config.vm.hostname = "mrcp"
config.vm.synced_folder ".", "/vagrant"
config.vm.provider "vmware_desktop" do |v|
v.gui = true
v.cpus = 3
v.memory = "4096"
end
config.vm.provision "ansible" do |ansible|
ansible.playbook = "provisioning/playbook.yml"
end
end
Greetings, I have same M1, same distro, same problem. Any luck?
Same Problem and no solution : ) VMs on Macs sucks
same problem with m2
I wish this was a Vagrant issue but it isn't.
The centos/7 and centos/8 boxes aren't built for the aarch64 architecture which the Apple Silicon processors use. There is an issue with the page size preventing RHEL/CentOS 8 from running effectively on Apple Silicon-based machines.
These boxes can be emulated via tools like UTM but there is a performance hit.
This box may work: bento/centos-stream-9-arm64
After upgrade to Monterey it works. debian11-arm64 (vmware_desktop, 0) politessebaume0r/rocky9 (vmware_desktop, 1.2, (arm64)) sparktype/rhel9-arm64 (vmware_desktop, 2023.08.19)
RHEL 9 inspired distros like AlmaLinux, Oracle and Rocky Linux work...before that, not so much.
--
Derek A. Arnold ERP Application System Administrator • Computer Services pronouns: he, him, his
330-494-6170 ext 4758 • B204 @.@.> • starkstate.eduhttps://www.starkstate.edu/ 6200 Frank Ave NW • North Canton, OH 44720
From: Simcha Bryzgalov @.> Sent: Tuesday, June 4, 2024 4:36:18 PM To: hashicorp/vagrant @.> Cc: Arnold, Derek @.>; Comment @.> Subject: [External] Re: [hashicorp/vagrant] Vagrant up fails with VMWare + Mac M1 (Issue #13360)
After upgrade to Monterey it works. debian11-arm64 (vmware_desktop, 0) politessebaume0r/rocky9 (vmware_desktop, 1.2, (arm64)) sparktype/rhel9-arm64 (vmware_desktop, 2023.08.19)
— Reply to this email directly, view it on GitHubhttps://github.com/hashicorp/vagrant/issues/13360#issuecomment-2148373697, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AO6DZRZARPWO5QCJ3BT32XDZFYQMFAVCNFSM6AAAAABEIFY57WVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNBYGM3TGNRZG4. You are receiving this because you commented.Message ID: @.***>