2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-05-22 03:32:04 +00:00

[Docu] IB switch configuration: fix passwd entry

The entry in the passwd table has to use the key `switch`, otherwise the sshusername and password is not detected.

See `man switches` page:
```
       sshusername
                 The remote login user name. It can be for ssh or telnet. If it is for telnet,
                 set protocol to "telnet". If the sshusername is blank, the username, password
                 and protocol will be retrieved from the passwd table with "switch" as the key.

       sshpassword
                 The remote login password. It can be for ssh or telnet. If it is for telnet, set
                 protocol to "telnet". If the sshusername is blank, the username, password and
                 protocol will be retrieved from the passwd table with "switch" as the key.
```
See `man passwd` page:
```
       key
              The type of component this user/pw is for. Valid values: blade (management module), 
              ipmi (BMC), system (nodes), omapi (DHCP), hmc, ivm, cec, frame, switch.
```
This commit is contained in:
Obihörnchen 2018-09-26 14:48:09 +02:00 committed by GitHub
parent 722709b61e
commit dfe968db2f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -23,12 +23,12 @@ The switches table will look like this: ::
If there is only one admin and one password for all the switches then put the entry in the xCAT passwd table for the admin id and password to use to login. ::
tabch key=mswitch passwd.username=admin passwd.password=admin
tabch key=switch passwd.username=admin passwd.password=admin
The passwd table will look like this: ::
#key,username,password,cryptmethod,comments,disable
"mswitch","admin","admin",,,
"switch","admin","admin",,,
Setup ssh connection to the Mellanox Switch
-------------------------------------------