Skip to content

Commit 7b8442c

Browse files
author
Bethany Erskine
committed
Change private network to 10.254.254 to avoid home network overlap
1 parent 2ad2cf7 commit 7b8442c

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,10 @@ vagrant up
2929

3030
USAGE
3131
======
32-
Sensu Dashboard will be available at http://192.168.1.10:8080
32+
Sensu Dashboard will be available at http://10.254.254.10:8080 , username "admin" password "secret".
3333

34-
The client machine IP is 192.168.1.11
35-
The server machine IP is 192.168.1.10
34+
The client machine IP is 10.254.254.10
35+
The server machine IP is 10.254.254.11
3636

3737
To SSH into each machine:
3838
```

vagrant/Vagrantfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ Vagrant.configure("2") do |config|
2626
chef.add_recipe "sensu-tutorial::vim"
2727
chef.add_recipe "sensu-tutorial::server"
2828
end
29-
sensu_server_config.vm.network :private_network, ip: "192.168.1.10"
29+
sensu_server_config.vm.network :private_network, ip: "10.254.254.10"
3030
end
3131

3232
# Sensu Client
@@ -43,15 +43,15 @@ Vagrant.configure("2") do |config|
4343
sensu_client_config.vm.provision :chef_solo do |chef|
4444
chef.json = {
4545
"monitor" => {
46-
"master_address" => "192.168.1.10"
46+
"master_address" => "10.254.254.10"
4747
}
4848
}
4949
chef.cookbooks_path = "cookbooks"
5050
chef.data_bags_path = "data_bags"
5151
chef.add_recipe "sensu-tutorial::iptables_disable"
5252
chef.add_recipe "sensu-tutorial::client"
5353
end
54-
sensu_client_config.vm.network :private_network, ip: "192.168.1.11"
54+
sensu_client_config.vm.network :private_network, ip: "10.254.254.11"
5555
end
5656

5757
end

0 commit comments

Comments
 (0)