Vagrant uses VirtualBox to handle creation of the actual virtual machines. Head over to https://www.virtualbox.org/wiki/Downloads
to find the appropriate installer for your system.
If you're running Mac OS X, you must also install Xcode. Users running Lion can can install Xcode through the App Store. You can also grab the installer from http://developer.apple.com/xcode/
.
Once you've got VirtualBox and Xcode installed, you're ready to install Vagrant. The simplest way to get Vagrant is to use ruby's gem installer :
gem update --system
gem install vagrant
NOTE: This project is intended to work with Vagrant v0.9.X
Now would be a good time to actually check out the project :
git clone http://github.com/bcwaldon/vagrant_devstack.git
The project has submodules for other recipes:
git submodule init
git submodule update
You can set up a local yaml-formatted config file to override the default settings used with the project. Place your config file at etc/vagrant.yaml
or set a custom location in the environment variable VD_CONF
. See a sample config at etc/vagrant.yaml.sample
.
DevStack itself allows you to define a localrc
file. This file is injected into your environment and sourced before the environment is built. You can use this to override settings such as MYSQL_PASSWORD
or NOVA_REPO
. See http://devstack.org for more information. If you decide to create your own localrc file, place it at etc/localrc
file or set the VD_LOCALRC
environment variable to its location.
At this point you can run vagrant up
and ssh into your DevStack environment!