Message ID | 1498054447-11281-14-git-send-email-ian.jackson@eu.citrix.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
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; }
This logs the installer output, even during a failed install. Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com> --- Osstest/Debian.pm | 5 +++++ 1 file changed, 5 insertions(+)