From 01a5551ea74b7501c7c83ed960116a2a0c0a26cb Mon Sep 17 00:00:00 2001 From: Victor Hu Date: Fri, 24 Feb 2017 13:15:42 -0500 Subject: [PATCH] Update manage.rst Clarify the option to clear the previous configuration for ONIE enabled switches --- .../advanced/networks/onie_switches/os_cumulus/manage.rst | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/docs/source/advanced/networks/onie_switches/os_cumulus/manage.rst b/docs/source/advanced/networks/onie_switches/os_cumulus/manage.rst index 5634eeaea..0f3ce1184 100644 --- a/docs/source/advanced/networks/onie_switches/os_cumulus/manage.rst +++ b/docs/source/advanced/networks/onie_switches/os_cumulus/manage.rst @@ -16,11 +16,12 @@ There may be occasions where a re-install of the OS is required. Assuming the * **[use xCAT]** ``xdsh`` can be used to invoke the reinstall of the OS: :: + # to clear out all the previous configuration, use the -k option (optional) + xdsh "/usr/cumulus/bin/onie-select -k + + # to invoke the reinstall of the OS xdsh "/usr/cumulus/bin/onie-select -i -f;reboot" - # to clear out all the previous configuration, use the -k option - xdsh "/usr/cumulus/bin/onie-select -k -f;reboot" - * **[manually]** Log into the Cumulus OS switch and run the following commands: :: sudo onie-select -i