mirror of
https://github.com/xcat2/xcat-core.git
synced 2025-11-05 21:57:06 +00:00
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.
```
Welcome to the xCAT documentation
The latest docs are here: http://xcat-docs.readthedocs.io/en/latest/
The documentation project is written in restructured text (.rst) using Sphinx and hosted on ReadTheDocs.
Building Documentation
-
Clone the project
-
Using pip, install or update sphinx (See: http://pip.readthedocs.org/)
pip install sphinxor
pip install sphinx --upgrade -
Using pip, install ReadTheDocs theme
pip install sphinx_rtd_theme -
Build the Docs
cd xcat-core/docs make html -
View the docs by opening index.html from a web browser under xcat-core/docs/build/html/index.html