diff options
author | Simon Rettberg | 2022-05-23 15:39:19 +0200 |
---|---|---|
committer | Simon Rettberg | 2022-05-23 15:39:19 +0200 |
commit | 7e8a6cdbdeb1db1740f0dbea2f4ce0832d254fa5 (patch) | |
tree | 3ddfabd2ebef96b3f58eccf72502e3b1fd488940 /core/modules/debug-report-bwlp | |
parent | [dhcpc-busybox] Merge SLX_NET_SEARCH with DHCP values (diff) | |
download | mltk-7e8a6cdbdeb1db1740f0dbea2f4ce0832d254fa5.tar.gz mltk-7e8a6cdbdeb1db1740f0dbea2f4ce0832d254fa5.tar.xz mltk-7e8a6cdbdeb1db1740f0dbea2f4ce0832d254fa5.zip |
[debug-report-bwlp] Include resolv.conf, censor passwords from config
Diffstat (limited to 'core/modules/debug-report-bwlp')
-rwxr-xr-x | core/modules/debug-report-bwlp/data/opt/openslx/bin/debug_report | 4 |
1 files changed, 3 insertions, 1 deletions
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=<removed>/' "/opt/openslx/config" > "static/config" echo -n "." for file in /home/*/.xsession-errors; do |