vagrant-vsphere icon indicating copy to clipboard operation
vagrant-vsphere copied to clipboard

All VMs IP addresses are set to first VM IP address in multiple VMs config

Open charlesxu2000 opened this issue 9 years ago • 1 comments

Environment: vagrant: 1.7.2 vagrant-vsphere: 1.0.1

Have mutliple VMs configured as:

config.vm.define "node1" do |node1| node1.vm.hostname = "node1" node1.vm.network "private_network", ip: "10.10.0.1" end

config.vm.define "node2" do |node2| node2.vm.hostname = "node2" node2.vm.network "private_network", ip: "10.10.0.2" end

It ends up with both nodes IP addresses are set to 10.10.0.1.

Any clue what's the problem?

charlesxu2000 avatar Jun 18 '15 00:06 charlesxu2000

I have not tried this yet. Can you post a more complete Vagrantfile?

rylarson avatar Aug 19 '15 19:08 rylarson