From f339e7b94ab8920fd1e271c50145b5d2d1a8ac9d Mon Sep 17 00:00:00 2001 From: elijah Date: Tue, 30 Oct 2012 13:26:07 -0700 Subject: fix the generation of the known_hosts file --- lib/leap_cli/commands/node.rb | 1 + 1 file changed, 1 insertion(+) (limited to 'lib/leap_cli/commands/node.rb') diff --git a/lib/leap_cli/commands/node.rb b/lib/leap_cli/commands/node.rb index de6adad..e96293c 100644 --- a/lib/leap_cli/commands/node.rb +++ b/lib/leap_cli/commands/node.rb @@ -60,6 +60,7 @@ module LeapCli; module Commands pub_key = read_file([:node_ssh_pub_key,node.name]) if pub_key buffer << [hostnames, pub_key].join(' ') + buffer << "\n" end end write_file!(:known_hosts, buffer.string) -- cgit v1.2.3