Created
June 11, 2013 01:43
-
-
Save tobyhede/5753979 to your computer and use it in GitHub Desktop.
vagrant chef reset
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/zsh | |
/usr/bin/vagrant destroy --force | |
yes | knife client delete {NODE_NAME} | |
yes | knife node delete {NODE_NAME} | |
/usr/bin/vagrant up | |
knife bootstrap localhost --node-name {NODE_NAME} --ssh-user vagrant --ssh-password vagrant --ssh-port 2222 --sudo | |
/usr/bin/vagrant provision |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment