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:
Edit: Added a line to chmod the private key
3 thoughts on “Automated DevStack install inside of VirtualBox with Vagrant”