This logs the installer output, even during a failed install.

Signed-off-by: Ian Jackson <ian.jack...@eu.citrix.com>
---
 Osstest/Debian.pm | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/Osstest/Debian.pm b/Osstest/Debian.pm
index 8ba48bf..845027a 100644
--- a/Osstest/Debian.pm
+++ b/Osstest/Debian.pm
@@ -690,6 +690,11 @@ sub di_installcmdline_core ($$;@) {
         if defined $debconf_priority;
     push @cl, "rescue/enable=true" if $xopts{RescueMode};
 
+    if ($r{syslog_server}) {
+       $r{syslog_server} =~ m/:(\d+)$/ or die "$r{syslog_server} ?";
+       push @cl, "log_host=$`", "log_port=$1";
+    }
+
     return @cl;
 }
 
-- 
2.1.4


_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
https://lists.xen.org/xen-devel

Reply via email to