PS C:\Users\Aaron Kulbe> cat .\Vagrantfile Vagrant.configure("2") do |config|
config.vm.provision "shell", inline: "echo Hello"
config.vm.provider "vmware_desktop" do |v|
v.memory = "4096"
v.linked_clone = false
end
config.vm.define "web" do |web|
web.vm.box = "centos/7"
end
config.vm.define "db" do |db|
db.vm.box = "centos/7"
end
config.vm.define "app1" do |app1|
app1.vm.box = "centos/7"
end
config.vm.define "app2" do |app2|
app2.vm.box = "centos/7"
end
end
PS C:\Users\Aaron Kulbe>
PS C:\Users\Aaron Kulbe> vagrant up
Bringing machine 'web' up with 'vmware_desktop' provider...
Bringing machine 'db' up with 'vmware_desktop' provider...
Bringing machine 'app1' up with 'vmware_desktop' provider...
Bringing machine 'app2' up with 'vmware_desktop' provider...
==> web: Checking if box 'centos/7' version '1902.01' is up to date...
==> web: Verifying vmnet devices are healthy...
==> web: Preparing network adapters...
==> web: Starting the VMware VM...
An error occurred while executing `vmrun`, a utility for controlling
VMware machines. The command and output are below:
Command: ["start", "C:\\Users\\Aaron Kulbe\\.vagrant\\machines\\web\\vmware_desktop\\6abc5250-6378-48a5-9e26-65a56217af2a\\centos-7-1-1.x86_64.vmx", "nogui", {:notify=>[:stdout, :stderr], :timeout=>45}]
Stdout: Error: The operation was canceled
Stderr:
I had a similar issue with using the virtualbox provider, as it would have issues with the *argument* of the command it was calling. vmware_desktop calls "vmrun" with "clone" as an argument. virtualbox calls "VBoxManage" with "startvm" as its argument. Both providers threw errors on their arguments. Hyper-V had different issues. I just want to spin up multi-machine environments. Can someone please help me figure out if I'm doing something wrong, or if this is a bug?
An error occurred while executing `vmrun`, a utility for controllingVMware machines. The command and output are below:
--
This mailing list is governed under the HashiCorp Community Guidelines - https://www.hashicorp.com/community-guidelines.html. Behavior in violation of those guidelines may result in your removal from this mailing list.
GitHub Issues: https://github.com/mitchellh/vagrant/issues
IRC: #vagrant on Freenode
---
You received this message because you are subscribed to the Google Groups "Vagrant" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vagrant-up+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vagrant-up/CAHqq0exYuZzpG112Y2U8f%3D1TVaazK9co3m_S7WSA2Z60Xx0R2w%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.