Skip to content

Commit

Permalink
change Vagrant config from public to privat network, set fixed ip adr…
Browse files Browse the repository at this point in the history
…esses for couch1,couch2,couch3. insert ssh.user and ssh.password
  • Loading branch information
Lucas Weatherhog committed Nov 9, 2016
1 parent 7a828e5 commit 1a4e1f2
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions Vagrantfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,19 +12,25 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
config.vm.define :couch1 do |couch_config|
couch_config.vm.box = "sc-weatherhog/vagrant-couch"
couch_config.vm.host_name = 'couch1.local'
config.vm.network "public_network", type: "dhcp"
couch_config.vm.network "private_network", ip: "172.28.128.111"
couch_config.ssh.username = "vagrant"
couch_config.ssh.password = "vagrant"
end

config.vm.define :couch2 do |couch_config|
couch_config.vm.box = "sc-weatherhog/vagrant-couch"
couch_config.vm.host_name = 'couch2.local'
config.vm.network "public_network", type: "dhcp"
couch_config.vm.network "private_network", ip: "172.28.128.121"
couch_config.ssh.username = "vagrant"
couch_config.ssh.password = "vagrant"
end

config.vm.define :couch3 do |couch_config|
couch_config.vm.box = "sc-weatherhog/vagrant-couch"
couch_config.vm.host_name = 'couch3.local'
config.vm.network "public_network", type: "dhcp"
couch_config.vm.network "private_network", ip: "172.28.128.131"
couch_config.ssh.username = "vagrant"
couch_config.ssh.password = "vagrant"
end

end
Expand Down

0 comments on commit 1a4e1f2

Please sign in to comment.