lib/oscar/networking.rb in oscar-0.2.0alpha3 vs lib/oscar/networking.rb in oscar-0.2.0alpha4
- old
+ new
@@ -28,10 +28,10 @@
def hosts_for(node)
arr = []
arr << ['127.0.0.1', ['localhost']]
- arr << ['127.0.1.1', ["#{node.name}.#{@domainname}", node.name]]
+ arr << ['127.0.1.1', [node.name]]
@nodes.each_pair { |address, n| arr << [address, [n.name, "#{n.name}.#{@domainname}"]] }
arr
end