Now @general_logs contains logs we want from guests as well as hosts.

Signed-off-by: Ian Jackson <ian.jack...@eu.citrix.com>
---
 ts-logs-capture | 11 +++++------
 1 file changed, 5 insertions(+), 6 deletions(-)

diff --git a/ts-logs-capture b/ts-logs-capture
index ae37d492..418155ce 100755
--- a/ts-logs-capture
+++ b/ts-logs-capture
@@ -148,6 +148,11 @@ our @general_logs = qw(
                   /var/log/installer/syslog*
                   /var/log/installer/partman*
 
+                  /boot/config*
+
+                  /home/osstest/osstest-confirm-booted.log
+
+                  /var/core/*.core
                     );
 
 sub fetch_logs_host () {
@@ -172,14 +177,8 @@ sub fetch_logs_host () {
 
                   /var/log/xen-tools/*
 
-                  /boot/config*
-
                   /etc/xen/*
 
-                  /home/osstest/osstest-confirm-booted.log
-
-                  /var/core/*.core
-
                   )];
     if (!try_fetch_logs($ho, $logs)) {
         logm("log fetching failed, trying hard host reboot...");
-- 
2.11.0


Reply via email to