-
-
Save gravyboat/e6b93a6c1e6f9a776062 to your computer and use it in GitHub Desktop.
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
#!/bin/bash | |
# basically delete all signs of previous id and data | |
# and start over | |
/etc/init.d/salt-minion stop | |
rm -Rf /var/cache/salt/minion | |
rm /etc/salt/minion_id | |
rm -Rf /etc/salt/pki | |
/etc/init.d/salt-minion start |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment