7b315c8b0f
Also adds a readme file for vagrant. Change-Id: I46e60bdda83db8733019cdbcd8c2c326f3f1e1a8
37 lines
1015 B
Plaintext
37 lines
1015 B
Plaintext
Vagrant support for developers
|
|
==============================
|
|
Bifrost vagrant file for developers can be found in the tools/vagrant_dev_env
|
|
directory. Running 'vagrant up' from with in this folder will bring up an Ubuntu
|
|
Trusty box with bifrost installed.
|
|
|
|
By default the vm will have three interfaces:
|
|
eth0 - connected to a NAT network
|
|
eth1 - connected to Host-only network named: vboxnet1
|
|
eth2 - bridged - adapter must be set in Vagrantfile
|
|
|
|
|
|
Walkthrough done on OS X:
|
|
-------------------------
|
|
Setup vagrant by:
|
|
Installing git
|
|
Installing virtualbox
|
|
Installing vagrant
|
|
Installing ansible
|
|
|
|
Configure Vagrant with the correct box:
|
|
vagrant box add ubuntu/trusty64
|
|
|
|
Clone bifrost repo:
|
|
git clone https://github.com/openstack/bifrost.git
|
|
|
|
change in to the bifrost directory
|
|
cd bifrost/tools/vagrant_dev_env
|
|
|
|
edit Vagrantfile:
|
|
change public_key to correct key name
|
|
change network_interface to match your needs
|
|
change bridged adaptor
|
|
|
|
Boot the vm with:
|
|
vagrant up
|