Commit 33892746 by Wojciech Izykowski Committed by Stéphane Graber

lxc-start-ephemeral: fixed bug with wrong ssh option (-k instead of -i)

Corrected ssh option for custom key (from -k to -i). Just see ssh manpage for justification. Signed-off-by: 's avatarWojciech Izykowski <wizykowski@gmail.com> Acked-by: 's avatarSerge E. Hallyn <serge.hallyn@ubuntu.com>
parent 6efdcb6a
......@@ -287,7 +287,7 @@ if args.user:
cmd += ["-l", args.user]
if args.key:
cmd += ["-k", args.key]
cmd += ["-i", args.key]
for ip in ips:
ssh_cmd = cmd + [ip] + args.command
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment