-
Notifications
You must be signed in to change notification settings - Fork 275
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
hide rke2-uninstall.sh to avoid accidental deletion of RKE2 #3928
Comments
I don't believe this is something we're likely to do. There are a lot of mistakes an inattentive cli user may make; every user who's ever run |
Of course its a mistake to run the harmful command, but rke2-uninstall.sh sounds as destructive as rke2-killall.sh. Moving it to somewhere else (outside of the usual $PATH) would be a defensive measure not hurting anybody. It is even lacking a confirmation dialog, nor does it catch something like "rke2-uninstall.sh --help". Not best practice. |
While I don't think it's a huge problem because you should be able to quickly get that node back in the cluster, the script could be improved. It could display some info when ran with |
I highly appreciate your work on RKE2. |
Closing this as it's not currently in our plans to modify |
Its easy to run rke2-uninstall.sh instead of rke2-killall.sh by accident or out of confusion, esp. if command line completion is enabled. This is fatal. I would suggest to better hide the uninstall scripts.
The text was updated successfully, but these errors were encountered: