Skip to content
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

[v17] NodeJoin Script: improve clean up message when using package manager #48877

Merged
merged 1 commit into from
Nov 13, 2024

Conversation

marcoandredinis
Copy link
Contributor

Backport #48743 to branch/v17

When re-running the node join script, the script refused to continue
because it detected teleport already on the system.
The script had a couple of instructions that removed teleport from the
system.
One of the steps is the removal of the teleport binary.
However, it would recommend the removal of the binaries even for systems
that had package managers. This fails because, even if the binaries
(teleport, tsh, tctl) are removed, the package manager will still refuse
to install teleport again because it was not removed from the package
manager database.

This PR changes the script, so that if it detects a package manager, it
will instead ask the user to remove the teleport package and not
directly removing the binaries.
@marcoandredinis marcoandredinis added the no-changelog Indicates that a PR does not require a changelog entry label Nov 13, 2024
@marcoandredinis marcoandredinis added this pull request to the merge queue Nov 13, 2024
Merged via the queue into branch/v17 with commit b0f2e47 Nov 13, 2024
41 checks passed
@marcoandredinis marcoandredinis deleted the bot/backport-48743-branch/v17 branch November 13, 2024 18:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport no-changelog Indicates that a PR does not require a changelog entry size/sm
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants