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

Louis Bouchard louis.bouchard at ubuntu.com
Wed Aug 20 04:11:16 PDT 2014


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




More information about the kexec mailing list