How to Uninstall Cumulus Linux and Remove the Configuration

Follow

Issue

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

Environment

  • Cumulus Linux, all versions

Resolution

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:
WARNING: Operating System uninstall requested.
WARNING: This will wipe out all system data.
WARNING:
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

Comments

  • 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