summaryrefslogtreecommitdiff
path: root/lib/leap_cli/config
diff options
context:
space:
mode:
authorelijah <elijah@riseup.net>2012-12-10 12:50:52 -0800
committerelijah <elijah@riseup.net>2012-12-10 12:50:52 -0800
commit7474fd4e2076d229b5409632f3f7bc471ce7831c (patch)
tree64f9855fc24c1f573d3d6a88e81b33a7dc314916 /lib/leap_cli/config
parent5cef70572c2dd62c28e513f59c4657cceb1b993f (diff)
simple /etc/hosts format for now
Diffstat (limited to 'lib/leap_cli/config')
-rw-r--r--lib/leap_cli/config/object.rb2
1 files changed, 1 insertions, 1 deletions
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