From bb7d0e9442284528562022bdb7d9f1a85ffb470f Mon Sep 17 00:00:00 2001 From: GONG Jie Date: Sun, 31 Dec 2017 23:59:59 +0000 Subject: [PATCH] Remove trailing spaces in file xCAT-server/share/xcat/cons/openbmc --- xCAT-server/share/xcat/cons/openbmc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/xCAT-server/share/xcat/cons/openbmc b/xCAT-server/share/xcat/cons/openbmc index 546b7a7a6..964c25154 100755 --- a/xCAT-server/share/xcat/cons/openbmc +++ b/xCAT-server/share/xcat/cons/openbmc @@ -86,13 +86,13 @@ until (($username or $password) and $bmcip ) { my $isintel = 0; my $sleepint; my $rc; - + my $sshport = 2200; if ($ENV{SSHCONSOLEPORT}) { $sshport= $ENV{SSHCONSOLEPORT}; } -#check if sshport is up +#check if sshport is up my $sock = IO::Socket::INET->new( PeerAddr => $bmcip, PeerPort => $sshport, @@ -116,7 +116,7 @@ while (!defined($sock)) { $sock->close(); -# To automatically connect to the console without the need to send over the ssh keys, +# 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 "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') {