aboutsummaryrefslogtreecommitdiff
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
parent5cef70572c2dd62c28e513f59c4657cceb1b993f (diff)
downloadleap_cli-7474fd4e2076d229b5409632f3f7bc471ce7831c.tar.gz
leap_cli-7474fd4e2076d229b5409632f3f7bc471ce7831c.tar.bz2
simple /etc/hosts format for now
-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