Last active
February 7, 2018 16:40
-
-
Save jtimberman/3088517 to your computer and use it in GitHub Desktop.
Replace $VAGRANTBOX with box names that should be repackaged with updates. Don't specify it for up, ssh, and package if you're not using a multi-VM vagrantfile
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 $VAGRANTBOX | |
% vagrant ssh $VAGRANTBOX | |
vagrant$ wget -O - http://opscode.com/chef/install.sh | sudo bash | |
vagrant$ rm /tmp/chef*{rpm,deb} | |
vagrant$ exit | |
% vagrant package $VAGRANTBOX | |
% rm -rf ~/.vagrant.d/boxes/$VAGRANTBOX | |
% vagrant box add $VAGRANTBOX package.box |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment