Blame 0064-base-rdsosreport.sh-add-ip-a-output.patch

Harald Hoyer 30adad
From f11712ea2189e01004115702a3756b70122c3b05 Mon Sep 17 00:00:00 2001
Harald Hoyer 30adad
From: Harald Hoyer <harald@redhat.com>
Harald Hoyer 30adad
Date: Tue, 10 Dec 2013 12:58:37 +0100
Harald Hoyer 30adad
Subject: [PATCH] base/rdsosreport.sh: add "ip a" output
Harald Hoyer 30adad
Harald Hoyer 30adad
---
Harald Hoyer 30adad
 modules.d/99base/rdsosreport.sh | 2 ++
Harald Hoyer 30adad
 1 file changed, 2 insertions(+)
Harald Hoyer 30adad
Harald Hoyer 30adad
diff --git a/modules.d/99base/rdsosreport.sh b/modules.d/99base/rdsosreport.sh
Harald Hoyer 30adad
index bfa55bb..5e11166 100755
Harald Hoyer 30adad
--- a/modules.d/99base/rdsosreport.sh
Harald Hoyer 30adad
+++ b/modules.d/99base/rdsosreport.sh
Harald Hoyer 30adad
@@ -42,6 +42,8 @@ command -v dmsetup >/dev/null 2>/dev/null && dmsetup ls --tree
Harald Hoyer 30adad
 
Harald Hoyer 30adad
 cat /proc/mdstat
Harald Hoyer 30adad
 
Harald Hoyer 30adad
+command -v ip >/dev/null 2>/dev/null && ip addr
Harald Hoyer 30adad
+
Harald Hoyer 30adad
 if command -v journalctl >/dev/null 2>/dev/null; then
Harald Hoyer 30adad
     journalctl -ab --no-pager -o short-monotonic
Harald Hoyer 30adad
 else