Lorin Hochstein

Ramblings about software, research and other things

Automated DevStack install inside of VirtualBox with Vagrant

with 3 comments

If you’re interested in trying out DevStack, I wrote up some scripts for automatically deploying DevStack inside of a VirtualBox virtual machine using Vagrant: devstack-vm.

Assuming you have the prereqs installed, it’s just:

$ git clone https://github.com/lorin/devstack-vm
$ cd devstack-vm
$ chmod 0600 id_vagrant
$ vagrant up

In a few minutes, you’ll have a running version of DevStack, configured with Neutron. You can even reach your instances with floating IPs without having to ssh to the VirtualBox VM first. If you want to automatically boot a Cirros instance and attach a floating IP, just run the included Python script which uses the OpenStack Python bindings:

$ ./boot-cirros.py

Edit: Added a line to chmod the private key

About these ads

Written by Lorin

August 17, 2013 at 10:03 pm

Posted in openstack

3 Responses

Subscribe to comments with RSS.

  1. […] By Lorin Hochstein: Automated DevStack install inside of VirtualBox with Vagrant […]

  2. […] Automated DevStack install inside of VirtualBox with Vagrant | Lorin Hochstein. […]

  3. […] – A tale of 3 OpenStack clouds : 50,000 cores in production at CERN  – Rsync (Remote Sync): 10 Practical Examples of Rsync Command in Linux  – Google Coder: a simple way to make web stuff on Raspberry Pi  – A Bitcoin vending machine  – How do you calculate how much hardware you need for your OpenStack cloud? – Automated DevStack install inside of VirtualBox with Vagrant […]


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.

%d bloggers like this: