[PATCH 5/9] Add remote dump information to kdump-config show

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Signed-off-by: Louis Bouchard <louis.bouchard at ubuntu.com>
---
 debian/kdump-config | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/debian/kdump-config b/debian/kdump-config
index d97de02..5913478 100755
--- a/debian/kdump-config
+++ b/debian/kdump-config
@@ -84,6 +84,15 @@ function kdump_show()
 	echo "KDUMP_SYSCTL:     $KDUMP_SYSCTL"
 	echo "KDUMP_COREDIR:    $KDUMP_COREDIR"
 	echo "crashkernel addr: $IOMEM_ADDR"
+	if [ -z $SSH ];then
+		echo "SSH:              local"
+	else
+		echo "SSH:              $SSH"
+	fi
+	HOSTTAG="${HOSTTAG:=ip}"
+	echo "HOSTTAG:          $HOSTTAG"
+	SSH_KEY="${SSH_KEY:=/root/.ssh/kdump_id_rsa}"
+	echo "SSH_KEY:          $SSH_KEY"
 	if [ -e $sys_kexec_crash -a `cat $sys_kexec_crash` -eq 1 ] ; then
 		echo "current state:    ready to kdump";
 	else
-- 
1.9.1




[Index of Archives]     [LM Sensors]     [Linux Sound]     [ALSA Users]     [ALSA Devel]     [Linux Audio Users]     [Linux Media]     [Kernel]     [Gimp]     [Yosemite News]     [Linux Media]

  Powered by Linux