How to Uninstall Cumulus Linux and Remove the Configuration



I need to revert installation of Cumulus Linux and all configuration, how do I do it?


  • Cumulus Linux, all versions


You can remove the Cumulus Linux operating system and its configuration with cl-img-select: If you're running Cumulus Linux 2.5.3 or later, use cl-img-select -k; for earlier versions, use cl-img-select -u. For example, if you're running Cumulus Linux 2.5.4, use:

cumulus@switch:~$ sudo cl-img-select -k
WARNING: Operating System uninstall requested.
WARNING: This will wipe out all system data.
Are you sure (y/N)? y
Enabling uninstall at next reboot...done.
Reboot required to take effect.

This command reverts the switch to ONIE in installer mode.

See the Cumulus Linux user guide for more information.

Have more questions? Submit a request


  • Avatar
    Akiyoshi Tomita

    Cumulus Linux 2.5.3 or later , change cl-img-select command option to "-k"
    $ sudo cl-img-select -k

  • Avatar
    Pete Bratach

    Good catch, Akiyoshi. I just updated the article, so thank you!

Powered by Zendesk