X-Git-Url: https://git.openstreetmap.org/chef.git/blobdiff_plain/2ec62d46e6d050fe6384df90a2869036662d1b51..faf8ae12e85eabb050b0f5eceb2cb67ad1de5261:/cookbooks/networking/templates/default/hosts.erb diff --git a/cookbooks/networking/templates/default/hosts.erb b/cookbooks/networking/templates/default/hosts.erb new file mode 100644 index 000000000..decae8682 --- /dev/null +++ b/cookbooks/networking/templates/default/hosts.erb @@ -0,0 +1,16 @@ +# DO NOT EDIT - This file is being maintained by Chef + +# This machine +127.0.1.1 <%= node[:hostname] -%>.openstreetmap.org <%= node[:hostname] %> + +# IPv4 loopback address +127.0.0.1 localhost ip4-localhost ip4-loopback + +# IPv6 loopback address +::1 localhost ip6-localhost ip6-loopback + +# Other useful IPv6 addresses +fe00::0 ip6-localnet +ff00::0 ip6-mcastprefix +ff02::1 ip6-allnodes +ff02::2 ip6-allrouters