I tried even more simple. Forget about 4 machines. Just 1 machine this
time.
Here's the Vagrantfile contents:
# -*- mode: ruby -*-
# vi: set ft=ruby :
Vagrant.configure("2") do |config|
config.vm.box = "centos/7"
config.vm.synced_folder ".", "/vagrant_data", Disabled: true
config.vm.provider "vmware_desktop" do |vb|
vb.memory = "4096"
end
end
The output was similar:
PS C:\Users\Aaron Kulbe\Code\sandbox> vagrant up
Bringing machine 'default'
up with 'vmware_desktop' provider...
==> default: Cloning VMware VM: 'centos/7'. This can take some time...
==> default: Checking if box 'centos/7' version '1902.01' is up to date...
==> default: Verifying vmnet devices are healthy...
==> default: Preparing network adapters...
WARNING: The VMX file for this box contains a setting that is automatically
overwritten by Vagrant
WARNING: when started. Vagrant will stop overwriting this setting in an
upcoming release which may
WARNING: prevent proper networking setup. Below is the detected VMX setting:
WARNING:
WARNING: ethernet0.pcislotnumber = "32"
WARNING:
WARNING: If networking fails to properly configure, it may require this VMX
setting. It can be manually
WARNING: applied via the Vagrantfile:
WARNING:
WARNING: Vagrant.configure(2) do |config|
WARNING: config.vm.provider :vmware_desktop do |vmware|
WARNING: vmware.vmx["ethernet0.pcislotnumber"] = "32"
WARNING: end
WARNING: end
WARNING:
WARNING: For more information:
https://www.vagrantup.com/docs/vmware/boxes.html#vmx-whitelisting
==> default: 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\\Code\\sandbox\\.vagrant\\machines\\default\\vmware_desktop\\561078a5-7c47-440c-a4e8-d7d9865c96d4\\centos-7-1-1.x86_64.vmx",
"nogui", {:notify=>[:stdout, :stderr], :timeout=>45}]
Stdout: Error: The operation was canceled
Stderr:
On Thursday, March 21, 2019 at 1:51:35 PM UTC-7, [email protected] wrote:
>
>
> Ignore setting the memory for now and just try to get 4 boxes to come up...
>
> Try this...
>
> # -*- mode: ruby -*-
> # vi: set ft=ruby ts=2 :
>
> hosts = {
> "sys1" => { :ip => "192.168.56.101" },
> "sys2" => { :ip => "192.168.56.102" },
> "sys3" => { :ip => "192.168.56.103" },
> "sys4" => { :ip => "192.168.56.104" },
> }
>
> Vagrant.configure("2") do |config|
>
> config.vm.box = "centos/7"
>
> hosts.each_with_index do |(hostname,info), index|
>
> config.vm.define hostname do |cfg|
> cfg.vm.provider :virtualbox do |vb, override|
> override.vm.hostname = hostname
> override.vm.network "private_network", ip: info[:ip]
> end # end config
>
> end # end hosts
>
> end # end configure
>
>
>
--
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/c3f58ebc-9d52-4601-8423-020d1b35ab98%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.