From 07a4a50f0ca974829a123fb2607315aba3a79ffd Mon Sep 17 00:00:00 2001 From: chenglch Date: Wed, 8 Nov 2017 09:21:06 +0800 Subject: [PATCH] Fix the message for openbmc cons Help user to locate the error for openbmc console session. --- xCAT-server/share/xcat/cons/openbmc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xCAT-server/share/xcat/cons/openbmc b/xCAT-server/share/xcat/cons/openbmc index 1c503839c..cfb26c33e 100755 --- a/xCAT-server/share/xcat/cons/openbmc +++ b/xCAT-server/share/xcat/cons/openbmc @@ -93,7 +93,7 @@ if ($ENV{SSHCONSOLEPORT}) { # To automatically connect to the console without the need to send over the ssh keys, # ensure sshpass is installed on the Management and/or Service Nodes. -print "If unable to open the console, ensure sshpass is installed or ssh keys have been configured on the BMC.\n"; +print "Unable to open console. If BMC pings, ensure sshpass is installed or ssh keys have been configured on the BMC.\n"; if (-x '/usr/bin/sshpass') { exec "/usr/bin/sshpass -p $password ssh -p $sshport -l $username -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null $bmcip"; } else {