Skip to content
Snippets Groups Projects
Commit a05a2173 authored by ale's avatar ale
Browse files

change test domain

parent ab4e1ab7
Branches
No related tags found
No related merge requests found
API_VERSION = "2" API_VERSION = "2"
# Note: we shouldn't need to create a host entry for 'etcd', but # Note: we shouldn't need to create a host entry for 'etcd'...
# 'test.net' is a real domain with a catch-all...
$setup_host_file = <<SCRIPT $setup_host_file = <<SCRIPT
cat >/etc/hosts <<EOF cat >/etc/hosts <<EOF
127.0.0.1 localhost 127.0.0.1 localhost
192.168.50.2 node1.test.net etcd.test.net node1 192.168.50.2 node1.autora.dio etcd.autora.dio node1
192.168.50.3 node2.test.net node2 192.168.50.3 node2.autora.dio node2
192.168.50.4 node3.test.net node3 192.168.50.4 node3.autora.dio node3
EOF EOF
SCRIPT SCRIPT
...@@ -20,7 +19,7 @@ Vagrant.configure(API_VERSION) do |config| ...@@ -20,7 +19,7 @@ Vagrant.configure(API_VERSION) do |config|
config.vm.provision "shell" do |s| config.vm.provision "shell" do |s|
s.path = "bootstrap.sh" s.path = "bootstrap.sh"
s.args = "test.net" s.args = "autora.dio"
end end
config.vm.define "node1" do |m| config.vm.define "node1" do |m|
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment