@samitouri / QOSAMI-WSL / commits / 1d1e21dc

Add /etc/os-release to information collected. (#7330)

If lsb_release is not installed, /etc/issue is output. However, /etc/issue is a template used by agetty/mingetty to output issue. On my system, it contains \S Kernel \r on an \m Collect /etc/os-release in addition.

Paul R Joslin committed Sep 23, 2021 at 16:34 UTC 1d1e21dc105af49f164019cfb8db504d16468999
1 file changed +1 -1
diagnostics/networking.sh
+1 -1
@@ -3,7 +3,7 @@
3 set -xu
4
5 # Gather distro & kernel info
6 -lsb_release -a || cat /etc/issue
6 +lsb_release -a || cat /etc/issue /etc/os-release
7 uname -a
8
9 # Output adapter & routing configuration