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 | |
# Clean up Apt | |
apt-get autoremove | |
apt-get autoclean | |
apt-get clean | |
# Delete SaltStack minion keys and ID file | |
# New files are generated when the service starts | |
rm -vf /etc/salt/pki/minion/* |