X-Git-Url: https://git.openstreetmap.org/chef.git/blobdiff_plain/b29516c0cce8ee5080beb5f1e4c15622444f18ed..df2765f59711e4b6ca7d68d4573d4fdad09841d6:/cookbooks/networking/recipes/default.rb diff --git a/cookbooks/networking/recipes/default.rb b/cookbooks/networking/recipes/default.rb index 321109a1d..4e496439b 100644 --- a/cookbooks/networking/recipes/default.rb +++ b/cookbooks/networking/recipes/default.rb @@ -177,7 +177,9 @@ package "cloud-init" do action :purge end -hostname node[:networking][:hostname] +hostname node[:networking][:hostname] do + ipaddress nil +end template "/etc/hosts" do source "hosts.erb"