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

Wojciech Izykowski wizykowski at gmail.com
Sat Apr 6 14:33:00 UTC 2013


Changes:

* corrected ssh option for custom key (from -k to -i). Just see ssh 
manpage for justification.

Regards,
Wojciech

--- src/lxc/lxc-start-ephemeral.in
+++ src/lxc/lxc-start-ephemeral.in
@@ -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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxcontainers.org/pipermail/lxc-devel/attachments/20130406/880a273f/attachment.html>


More information about the lxc-devel mailing list