[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] [OSSTEST PATCH 6/8] Publish: Introduce {Logs, Results}PublishSshOpts



Signed-off-by: Ian Jackson <Ian.Jackson@xxxxxxxxxxxxx>
---
 Osstest.pm            | 1 +
 Osstest/Management.pm | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/Osstest.pm b/Osstest.pm
index 738ed4f..85a6e78 100644
--- a/Osstest.pm
+++ b/Osstest.pm
@@ -257,6 +257,7 @@ END
        my $u = ucfirst $l;
        $c{"${u}"} //= "$pubbaseprefix$l";
        $c{"${u}Publish"} //= "$c{Publish}/$l" if defined $c{Publish};
+       $c{"${u}PublishSshOpts"} //= $c{PublishSshOpts} // [];
     }
 
     $c{Stash} //= $c{Logs};
diff --git a/Osstest/Management.pm b/Osstest/Management.pm
index c1ed2ac..4edb361 100644
--- a/Osstest/Management.pm
+++ b/Osstest/Management.pm
@@ -44,7 +44,7 @@ our @logsshopts;
 
 sub publish_ssh_opts ($) {
     my ($cfgbase) = @_; # LogsPublish or ResultsPublish
-    return (qw(-o batchmode=yes));
+    return (qw(-o batchmode=yes), @{$c{"${cfgbase}SshOpts"}});
 }
 
 sub logs_select ($) {
-- 
2.1.4


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.