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

[Xen-devel] [OSSTEST PATCH 13/15] Debian: Pass sylog server details to debian-installer



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

Signed-off-by: Ian Jackson <ian.jackson@xxxxxxxxxxxxx>
---
 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@xxxxxxxxxxxxx
https://lists.xen.org/xen-devel

 


Rackspace

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