Created
February 8, 2012 10:33
-
-
Save edwardsmit/1768015 to your computer and use it in GitHub Desktop.
Using Veewee 0.3.0.Alpha9 for creating a vagrant basebox and using it in Vagrant
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 is installed | |
# VirtualBox is installed | |
# pwd: ~/Vagrant | |
git clone https://github.com/jedi4ever/veewee.git | |
cd veewee/ | |
bundle install | |
git pull | |
bundle update | |
bundle exec veewee vbox templates | |
bundle exec veewee vbox define 'u64ruby192' 'ubuntu-11.10-server-amd64-ruby192' | |
bundle exec veewee vbox build 'u64ruby192' | |
ssh -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -p 7222 -l vagrant 127.0.0.1 | |
exit | |
bundle exec veewee vbox validate 'u64ruby192' | |
cd .. | |
vagrant package --base 'u64ruby192' --output boxes/u64-11.10.box | |
vagrant box add u64-11.10 boxes/u64-11.10.box | |
cd machines/ | |
mkdir test | |
cd test | |
vagrant init u64-11.10 | |
vagrant up | |
vagrant ssh | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment