mirror of
https://github.com/xcat2/xcat-core.git
synced 2025-05-31 10:06:39 +00:00
Merge pull request #4265 from chenglch/openbmc
Fix the message for openbmc cons
This commit is contained in:
commit
de172212f1
@ -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 {
|
||||
|
Loading…
x
Reference in New Issue
Block a user