rancher-desktop
rancher-desktop copied to clipboard
rdctl factory-reset should be implemented in the CLI
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.
This functionality will also be needed by an uninstaller, so double-check requirements with #3104
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.