~ruther/guix-local

aedbf9b8730b99790a49e3a01fbd59388fcc0c93 — Ludovic Courtès 12 years ago 165f4b2
offload: 'remote-pipe' uses the right SSH key.

* guix/scripts/offload.scm (remote-pipe): Pass -i when invoking
  %LSHG-COMMAND.
1 files changed, 4 insertions(+), 0 deletions(-)

M guix/scripts/offload.scm
M guix/scripts/offload.scm => guix/scripts/offload.scm +4 -0
@@ 161,6 161,10 @@ running lsh gateway upon success, or #f on failure."
    (lambda ()
      (apply open-pipe* mode %lshg-command
             "-l" (build-machine-user machine) "-z"

             ;; XXX: Remove '-i' when %LSHG-COMMAND really is lshg.
             "-i" (build-machine-private-key machine)

             (build-machine-name machine)
             command))
    (lambda args