One other thing I forgot to add. I have the same plugins, same provider
(vmware_desktop) and same Vagrantfile on a Linux desktop… it works fine
there. I'm just wanting to do this on my Windows machines as I have a lot
more RAM on them.
On Thursday, March 21, 2019 at 10:57:05 AM UTC-7, Aaron Kulbe wrote:
>
> Host OS: Win 10 Pro x64 with PowerShell
> Guest OS: Linux (Ubuntu LTS / CentOS 7)
> Vagrant: 2.2.4
> vagrant-vmware-utility: 1.0.7
> VMware Workstation: 15.0.3
>
> I am attempting to spin up a 4-machine configuration, on a Windows 10 host.
>
> I have tried with both the "virtualbox" provider and the "vmware_desktop"
> provider.
>
>
>
> 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?
>
>
--
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 [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/vagrant-up/c939610a-8c80-412b-ab17-1fe6c6d7dd1b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.