New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
vagrant up: An error occurred while executing vmrun
, a utility for controlling VMware machines. The command and output are below:
#12769
Comments
Hey StalkerOne. I've got the same here. I don't know if you managed to find a solution, it's really fustrating using Vagrant with M1 macs btw.
My config: |
OK. Sorry. I'm going to answer to my own intervention because by looking at the vmware.log located in and so I tried to find a bento/ubuntu version for arm but there's only one that works on Parallels provider: here. Let me know if you know of another magical place where I could find this build but for vmware. |
Just curious, can you try adding the following to your Vagrantfile? provider: vmware_desktop
provider: virtualbox
|
Nice! It boots when |
this fix the issue for me too. Thanks ! |
I have tried adding the above to my Vagrantfile. Perhaps I am adding it incorrectly but it keeps yelling at me that it needs an end.
There is a syntax error in the following Vagrantfile. The syntax error /Users/stryker/VirtualBox VMs/StefanScherer-windows_2019/Vagrantfile:72: syntax error, unexpected end-of-input, expecting `end' Here is what I added I am running an M1. I am using BBEdit to edit. Perhaps it is some issue. I tried VIM but it is formatted the same. |
I guess I am just not understanding where that end goes. I have tried to put the new stanza at the end, in between and only get other errors. Like so. Different end locations. One it with original end in place, stanza placed after and second is end in original place and stanza with end before Vagrant failed to initialize at a very early stage: There was an error loading a Vagrantfile. The file being loaded Path: /Users/stryker/VirtualBox VMs/StefanScherer-windows_2019/Vagrantfile There was an error loading a Vagrantfile. The file being loaded Path: /Users/stryker/VirtualBox VMs/StefanScherer-windows_2019/Vagrantfile |
All of my vagrants work on my Alienware but i need to get it enabled on this Mac |
oh right, you have virtualbox as a provider, so change vmware_desktop to virtualbox. |
I actually had both VirtualBox and VMware. Decided to delete everything and try from scratch again. I will just go with VMWare on the Mac. My ALienware I use Virtualbox and do have everything working there. I am more or less doing proof of concept because I have to ultimately get a Win 2019 Server that I can install Mirth Connect to test installing AppDynamics Java agent. Have issues in work environment that I think has to be STIG related because it is just a java app. Anyways, I will let you know after I fidget with re-deploying everything. If you think I should use Virtualbox over VMware or something else, please feel free to let me know. Since I used the same advice installing, I am expecting the same issues on this ARM processor :P |
At this time of writing, I believe your current usable options in running a Windows guest on Apple Silicon M1/M2 chips are VMware tech preview, UTM, or Parallels. Anyhoo, this is would be unrelated to current Github issue re: Vagrant + VMware generating |
Thanks Ian. Yeah, that is what I have been led to believe as well. I was
able to get Virtualbox running relatively easily but for obvious reasons,
Microsoft products do not like change :)
I will let you know how it goes. I will take another stab at it this
weekend.
…On Mon, Feb 27, 2023 at 6:31 PM Ian Bucad ***@***.***> wrote:
At this time of writing, I believe your current usable options in running
a Windows guest on Apple Silicon M1/M2 chips are VMware tech preview
<https://blogs.vmware.com/teamfusion/2022/07/just-released-vmware-fusion-22h2-tech-preview.html>,
UTM <https://mac.getutm.app/>, or Parallels <https://www.parallels.com/>.
With Virtual box on M1, you can install it and maybe run 32-bit ARM-based
OS's that would be painfully slow and unusable anyway.
Anyhoo, this is would be unrelated to current Github issue re: Vagrant +
VMware generating An error occurred while executing vmrun...
—
Reply to this email directly, view it on GitHub
<#12769 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AKTRQBAXNBIHUFTLKXANF6LWZU2NHANCNFSM5WDMK5BQ>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
My running environment
Vagrant 2.2.19
vagrant-vmware-utility 1.0.21
MacOS Monterey 12.3 for Apple M1 Pro chip
When i run:
vagrant box add hashicorp/bionic64
vagrant up
----------------------- output ----------------------
Bringing machine 'default' up with 'vmware_desktop' provider...
==> default: Box 'hashicorp/bionic64' could not be found. Attempting to find and install...
default: Box Provider: vmware_desktop, vmware_fusion, vmware_workstation
default: Box Version: >= 0
==> default: Loading metadata for box 'hashicorp/bionic64'
default: URL: https://vagrantcloud.com/hashicorp/bionic64
==> default: Adding box 'hashicorp/bionic64' (v1.0.282) for provider: vmware_desktop
default: Downloading: https://vagrantcloud.com/hashicorp/boxes/bionic64/versions/1.0.282/providers/vmware_desktop.box
==> default: Successfully added box 'hashicorp/bionic64' (v1.0.282) for 'vmware_desktop'!
==> default: Cloning VMware VM: 'hashicorp/bionic64'. This can take some time...
==> default: Checking if box 'hashicorp/bionic64' version '1.0.282' is up to date...
==> default: Verifying vmnet devices are healthy...
==> default: Preparing network adapters...
==> default: Starting the VMware VM...
An error occurred while executing
vmrun
, a utility for controllingVMware machines. The command and output are below:
Command: ["start", "/Users/stalker/Virtual Machines.localized/.vagrant/machines/default/vmware_desktop/146d5222-4d8b-4823-802c-b7d2a394dd5f/ubuntu-18.04-amd64.vmx", "nogui", {:notify=>[:stdout, :stderr], :timeout=>45}]
Stdout: 2022-05-17T10:43:12.439| ServiceImpl_Opener: PID 93242
Error: The operation was canceled
Stderr:
so, what should i do?
The text was updated successfully, but these errors were encountered: