Ansible roles and playbooks to enable a standalone Ironic install
Go to file
Robert Collins 4148a5a621 Use sudo -H -E when running pip
-E will result in pip writing to the current users disk cache, and
that prevents future non-root pip calls using it properly.

Change-Id: Ib70b3d59a20967bc7e08c70387eb7dd6f7f1b5c5
2015-11-07 00:25:45 -05:00
bifrost Add the rest of the cookiecutter-generated files for testing 2015-06-24 16:09:08 -07:00
doc/source Add static DHCP for dynamic inventory 2015-10-06 08:12:37 -04:00
playbooks Fix simple-init install type flag 2015-11-03 18:45:50 -08:00
scripts Use sudo -H -E when running pip 2015-11-07 00:25:45 -05:00
tools Migrate playbooks to use 'become' 2015-10-15 07:32:05 -07:00
.gitignore Add `logs' from test-bifrost to .gitignore 2015-07-03 12:42:01 -04:00
.gitreview Add .gitreview file 2015-05-25 13:52:46 +00:00
.mailmap Add cookiecutter-generated files for project 2015-06-10 08:40:19 -07:00
.testr.conf Add the rest of the cookiecutter-generated files for testing 2015-06-24 16:09:08 -07:00
babel.cfg Add cookiecutter-generated files for project 2015-06-10 08:40:19 -07:00
CONTRIBUTING.rst Updating docs to provide additional context 2015-10-28 20:41:20 -04:00
env-vars Blind stab at breaking things into more roles 2015-03-12 17:07:46 -04:00
HACKING.rst Fix HACKING.rst and canary test for merges 2015-09-08 21:49:02 +00:00
LICENSE Adding LICENSE file 2015-04-16 15:58:23 -04:00
MANIFEST.in Add cookiecutter-generated files for project 2015-06-10 08:40:19 -07:00
openstack-common.conf Add cookiecutter-generated files for project 2015-06-10 08:40:19 -07:00
README.rst Updating docs to provide additional context 2015-10-28 20:41:20 -04:00
README.vagrant.rst Cleanups for README.vagrant 2015-09-14 08:44:24 -04:00
requirements.txt Resync with openstack/requirements 2015-08-27 08:56:40 -04:00
setup.cfg Add cookiecutter-generated files for project 2015-06-10 08:40:19 -07:00
setup.py Sync with global requirements 2015-07-15 17:04:11 -04:00
test-requirements.txt Resync with openstack/requirements 2015-08-27 08:56:40 -04:00
tox.ini Activate pep8 check that _ is imported 2015-07-29 13:51:28 -05:00
troubleshooting.rst Update troubleshooting text for custom IPA images 2015-10-23 16:44:37 -04:00

Vagrant support for developers

Bifrost vagrant file for developers can be found in the tools/vagrant_dev_env directory. Running vagrant up from within 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 into the bifrost directory:

cd bifrost/tools/vagrant_dev_env

Edit the Vagrantfile:

  • Change the bifrost.vm.network public_network value to a valid network interface to allow Bare Metal connectivity
  • Change public_key to correct key name
  • Change network_interface to match your needs

Boot the VM with:

vagrant up