From 7474fd4e2076d229b5409632f3f7bc471ce7831c Mon Sep 17 00:00:00 2001 From: elijah Date: Mon, 10 Dec 2012 12:50:52 -0800 Subject: simple /etc/hosts format for now --- lib/leap_cli/config/object.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/leap_cli/config/object.rb b/lib/leap_cli/config/object.rb index 155b51f..e866a1c 100644 --- a/lib/leap_cli/config/object.rb +++ b/lib/leap_cli/config/object.rb @@ -307,7 +307,7 @@ module LeapCli @referenced_nodes.each_node do |node| entries << "#{node.ip_address} #{node.name} #{node.domain.internal} #{node.domain.full}" end - {'leap_hosts' => entries} + entries.join("\n") end def known_hosts_file -- cgit v1.2.3