Created
August 16, 2021 22:05
-
-
Save nathanpeck/58751fd5fe8d63770b38bf53d96590e2 to your computer and use it in GitHub Desktop.
Uninstall ECS Anywhere from a host, for reinstall, or registration with a different account/region/cluster
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apt remove -y amazon-ssm-agent amazon-ecs-init | |
rm -rf /var/lib/amazon/ssm/Vault/Store/RegistrationKey | |
rm -rf /var/lib/ecs/ecs.config | |
rm -rf /etc/ecs/ecs.config | |
rm -rf /var/lib/ecs/data/* |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Loved this, works perfectly