Skip to content

Instantly share code, notes, and snippets.

View nicwaller's full-sized avatar

Nic Waller nicwaller

View GitHub Profile
@nicwaller
nicwaller / gist:9cf1986bb5c1d02cb2e3
Last active March 20, 2016 19:38 — forked from jtimberman/gist:3088517
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
% vagrant box add ubuntu/trusty64
% vagrant box update
% vagrant init ubuntu/trusty64
% vagrant up --no-provision
% vagrant ssh
vagrant$ wget -O - https://omnitruck.chef.io/install.sh | sudo bash
vagrant$ rm /tmp/chef*{rpm,deb}
vagrant$ exit
% vagrant package --output nicwaller-trusty64-chef12.box
% vagrant box add nicwaller/trusty64-chef12 nicwaller-trusty64-chef12.box