Commit c491f34966931dd01e34848bda7818882d3fafbf

Authored by Lars Tiede
1 parent a06b33c7

simplified a bit

Showing 1 changed file with 0 additions and 3 deletions   Show diff stats
@@ -13,17 +13,14 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config| @@ -13,17 +13,14 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
13 config.vm.provision :hosts # plugin: magically fills /etc/hosts 13 config.vm.provision :hosts # plugin: magically fills /etc/hosts
14 14
15 config.vm.define "target2" do |node| 15 config.vm.define "target2" do |node|
16 - node.vm.hostname = "demo-target2"  
17 node.vm.network :private_network, :ip => '10.20.1.4' 16 node.vm.network :private_network, :ip => '10.20.1.4'
18 end 17 end
19 18
20 config.vm.define "target1" do |node| 19 config.vm.define "target1" do |node|
21 - node.vm.hostname = "demo-target1"  
22 node.vm.network :private_network, :ip => '10.20.1.3' 20 node.vm.network :private_network, :ip => '10.20.1.3'
23 end 21 end
24 22
25 config.vm.define "control" do |node| 23 config.vm.define "control" do |node|
26 - node.vm.hostname = "demo-control"  
27 node.vm.network :private_network, :ip => '10.20.1.2' 24 node.vm.network :private_network, :ip => '10.20.1.2'
28 node.vm.provision "file", source: "~/.vagrant.d/insecure_private_key", 25 node.vm.provision "file", source: "~/.vagrant.d/insecure_private_key",
29 destination: "~/.ssh/id_rsa" 26 destination: "~/.ssh/id_rsa"