From 90006b0994d1000f5fcf7f0def7df7209f8ce4a3 Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Fri, 16 Jun 2017 11:10:44 +0100 Subject: [PATCH] Debian: Pass sylog server details to debian-installer This logs the installer output, even during a failed install. Signed-off-by: Ian Jackson --- Osstest/Debian.pm | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Osstest/Debian.pm b/Osstest/Debian.pm index 8ba48bfa..845027a3 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.39.5