mirror of
https://github.com/status-im/consul.git
synced 2025-01-11 14:24:39 +00:00
Merge pull request #66 from s0enke/vagrant_example_name_nodes
demo: Make example vagrant boxes easier to handle.
This commit is contained in:
commit
ccf982cdf8
2
demo/vagrant-cluster/Vagrantfile
vendored
2
demo/vagrant-cluster/Vagrantfile
vendored
@ -25,10 +25,12 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
|
|||||||
config.vm.provision "shell", inline: $script
|
config.vm.provision "shell", inline: $script
|
||||||
|
|
||||||
config.vm.define "n1" do |n1|
|
config.vm.define "n1" do |n1|
|
||||||
|
n1.vm.hostname = "n1"
|
||||||
n1.vm.network "private_network", ip: "172.20.20.10"
|
n1.vm.network "private_network", ip: "172.20.20.10"
|
||||||
end
|
end
|
||||||
|
|
||||||
config.vm.define "n2" do |n2|
|
config.vm.define "n2" do |n2|
|
||||||
|
n2.vm.hostname = "n2"
|
||||||
n2.vm.network "private_network", ip: "172.20.20.11"
|
n2.vm.network "private_network", ip: "172.20.20.11"
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
Loading…
x
Reference in New Issue
Block a user