-
Notifications
You must be signed in to change notification settings - Fork 7
Open
Labels
Description
I tried to add the following to global vagrant file ~/.vagrant.d/Vagrantfile hoping this enables autonetwork for all nodes :
if Vagrant.has_plugin?("vagrant-auto_network")
config.vm.network :private_network, :auto_network => true
endThis is my vagrant file :
Vagrant.configure(2) do |config|
config.vm.define "test" do |node|
node.vm.hostname = "test1"
end
config.vm.define "test1" do |node|
node.vm.hostname = "test2"
end
endBut both end up with the same ip address.