-
-
Save someara/4740767 to your computer and use it in GitHub Desktop.
This file contains hidden or 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$ export http_proxy="proxy.you.com:8000" | |
vagrant$ export https_proxy="proxy.you.com:8000" | |
vagrant$ echo "10.9.8.7 cher-server.your.lap chef-server >> /etc/hosts" | |
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