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

Remove trailing spaces in file docs/source/advanced/networks/onie_switches/os_cumulus/manage.rst

This commit is contained in:
GONG Jie 2017-12-31 23:59:59 +00:00
parent ad762f3bb3
commit 2a4158842a

View File

@ -4,9 +4,9 @@ Switch Management
Sync File support
------------------
xCAT supports synchronize of configuration files for cumulus switches.
xCAT supports synchronize of configuration files for cumulus switches.
#. Use instructions in doc: :ref:`The_synclist_file` to set up syncfile.
#. Use instructions in doc: :ref:`The_synclist_file` to set up syncfile.
#. Add syncfile to cumulus osimage. ::
# chdef -t osimage cumulus3.5.2-armel synclists=/tmp/synclists
@ -24,12 +24,12 @@ Switch Port and VLAN Configuration
xCAT places the front-panel port configuration in ``/etc/network/interfaces.d/xCAT.intf``.
The ``configinterface`` postscript can be used to pull switch interface configuration from the xCAT Management Node (MN) to the switch. Place the switch specific confguration files in the following directory on the MN: ``/install/custom/sw_os/cumulus/interface/``.
The ``configinterface`` postscript can be used to pull switch interface configuration from the xCAT Management Node (MN) to the switch. Place the switch specific confguration files in the following directory on the MN: ``/install/custom/sw_os/cumulus/interface/``.
xCAT will look for files in the above directory in the following order:
1. file name that matches the switch hostname
2. file name that matches the switch group name
1. file name that matches the switch hostname
2. file name that matches the switch group name
3. file name that has the word 'default'
.. note:: If the postscript cannot find a configuration file on the MN, it will set all ports on the switch to be part of VLAN 1.
@ -42,7 +42,7 @@ Execute the script using the following command: ::
Re-install OS
-------------
There may be occasions where a re-install of the Cumulus Linux OS is required. The following commands can be used to invoke the install:
There may be occasions where a re-install of the Cumulus Linux OS is required. The following commands can be used to invoke the install:
.. important:: This assumes that the Cumulus Linux files are on the xCAT MN in the correct place.
@ -50,11 +50,11 @@ There may be occasions where a re-install of the Cumulus Linux OS is required.
# to clear out all the previous configuration, use the -k option (optional)
xdsh <switch> "/usr/cumulus/bin/onie-select -k
# to invoke the reinstall of the OS
xdsh <switch> "/usr/cumulus/bin/onie-select -i -f;reboot"
* **Manually**, log into the switch and run the following commands: ::
sudo onie-select -i
sudo reboot
sudo reboot