Skip to content

Instantly share code, notes, and snippets.

@ghaering
Created May 5, 2014 13:57
Show Gist options
  • Star 5 You must be signed in to star a gist
  • Fork 3 You must be signed in to fork a gist
  • Save ghaering/9f05a362489d3ea5c9c6 to your computer and use it in GitHub Desktop.
Save ghaering/9f05a362489d3ea5c9c6 to your computer and use it in GitHub Desktop.
change to new salt master
service salt-minion stop
rm -f /etc/salt/pki/minion/minion_master.pub
echo "master: salt" > /etc/salt/minion
service salt-minion start
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment