rancher-desktop icon indicating copy to clipboard operation
rancher-desktop copied to clipboard

rdctl factory-reset should be implemented in the CLI

Open jandubois opened this issue 2 years ago • 1 comments

Right now it is impossible to do a proper cleanup when the machine is in a state where even an uninstall/reinstall doesn't result in a running RD app because rdctl factory-reset only works when it can connect to the server.

The functionality should be migrated to the CLI, and the GUI code should invoke the CLI to perform the reset, so that is is always available.

jandubois avatar Sep 21 '22 04:09 jandubois

This functionality will also be needed by an uninstaller, so double-check requirements with #3104

jandubois avatar Oct 06 '22 21:10 jandubois

On macOS we also need to sudo-delete /etc/sudoers.d/zzzzz-rancher-desktop-lima , /opt/rancher-desktop and probably some other files and directories.

ericpromislow avatar Oct 28 '22 19:10 ericpromislow