Last active
August 29, 2015 14:05
-
-
Save tcotav/a42d6b530e8bfda9f5cc to your computer and use it in GitHub Desktop.
Re-initialize salt-minion
This file contains hidden or 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