-
-
Save millisami/3806281 to your computer and use it in GitHub Desktop.
Replace BOXNAME with boxe names that should be repackaged with updates
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
% vagrant up --no-provision BOXNAME | |
% vagrant ssh BOXNAME | |
vagrant$ wget -O - http://opscode.com/chef/install.sh | sudo bash | |
vagrant$ rm /tmp/chef*{rpm,deb} | |
vagrant$ exit | |
% vagrant package BOXNAME | |
% rm -rf ~/.vagrant.d/boxes/BOXNAME | |
% vagrant box add BOXNAME package.box |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment