Skip to content

Instantly share code, notes, and snippets.

@millisami
Forked from jtimberman/gist:3088517
Created September 30, 2012 08:47
Show Gist options
  • Save millisami/3806281 to your computer and use it in GitHub Desktop.
Save millisami/3806281 to your computer and use it in GitHub Desktop.
Replace BOXNAME with boxe names that should be repackaged with updates
% 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