cr-publish-flight-logs: use ssh -o batchmode=yes
PATCH 1/1 cr-publish-flight-logs: use ssh -o batchmode=yes
This avoids a problem (seen twice now) where NAT causes this to hang and block everything.
Other invocations of rsync (eg in TestSupport) are all inside the command-running machinery which imposes its own timeout.
Signed-off-by Ian Jackson <[email protected]>
--- cr-publish-flight-logs | 1 + 1 file changed, 1 insertion(+)
cr-publish-flight-logs +1 -0
@@ -50,6 +50,7 @@ if ($push_harness) { sub copydir ($$) { my ($src,$dst) = @_; my @cmd= qw(rsync --compress --compress-level=9 --stats --delete -auH); + push @cmd, '-e', 'ssh -o batchmode=yes'; #--bwlimit=50 push @cmd, $src, $dst; print "+ @cmd\n";
Signature · 1 line
1.7.10.4
Quoted 7 lines · Ian Jackson
This avoids a problem (seen twice now) where NAT causes this to hang and block everything.
Other invocations of rsync (eg in TestSupport) are all inside the command-running machinery which imposes its own timeout.
Signed-off-by Ian Jackson <[email protected]>
Acked-by Ian Campbell <[email protected]>