diff options
author | elijah <elijah@riseup.net> | 2012-10-30 13:26:07 -0700 |
---|---|---|
committer | elijah <elijah@riseup.net> | 2012-10-30 13:26:07 -0700 |
commit | f339e7b94ab8920fd1e271c50145b5d2d1a8ac9d (patch) | |
tree | 2c2ccd1de76284fa525413be8577c3d234784326 | |
parent | 753d0049a2dd952eab47df89175611298d7f8755 (diff) | |
download | leap_cli-f339e7b94ab8920fd1e271c50145b5d2d1a8ac9d.tar.gz leap_cli-f339e7b94ab8920fd1e271c50145b5d2d1a8ac9d.tar.bz2 |
fix the generation of the known_hosts file
-rw-r--r-- | lib/leap_cli/commands/node.rb | 1 |
1 files changed, 1 insertions, 0 deletions
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) |