From 7e8a6cdbdeb1db1740f0dbea2f4ce0832d254fa5 Mon Sep 17 00:00:00 2001 From: Simon Rettberg Date: Mon, 23 May 2022 15:39:19 +0200 Subject: [debug-report-bwlp] Include resolv.conf, censor passwords from config --- core/modules/debug-report-bwlp/data/opt/openslx/bin/debug_report | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'core/modules/debug-report-bwlp') diff --git a/core/modules/debug-report-bwlp/data/opt/openslx/bin/debug_report b/core/modules/debug-report-bwlp/data/opt/openslx/bin/debug_report index abb240f7..17163fe7 100755 --- a/core/modules/debug-report-bwlp/data/opt/openslx/bin/debug_report +++ b/core/modules/debug-report-bwlp/data/opt/openslx/bin/debug_report @@ -74,12 +74,14 @@ for srv in $SLX_NTP_SERVER 0.de.pool.ntp.org; do done echo -n "..." -cp /opt/openslx/config /tmp/udhcpclog /opt/openslx/config.tgz.list \ +cp /tmp/udhcpclog /opt/openslx/config.tgz.list \ + /etc/resolv.conf /tmp/xsession-log-* \ /tmp/remote_log_check-* \ /opt/openslx/pam/slx-ldap.d/* \ /opt/openslx/vmchooser/config/udhcpd-nat1.conf* \ static/ 2> /dev/null +sed -r 's/^([^=]*PASS[^=]*)=.*$/\1=/' "/opt/openslx/config" > "static/config" echo -n "." for file in /home/*/.xsession-errors; do -- cgit v1.2.3-55-g7522