An other Vagrant box with Devstack and Ubuntu 14.04

Like Sean Dague I really like Vagrant and created a box with Ubuntu 14.04 and Devstack a few days ago. The box is available for use with VirtualBox on the Vagrant Cloud. The used Vagrantfile and Puppet manifest is available on Github in the repository berendt/vagrant-devstack. Hava a look in the used local.conf for enabled services and available images.

To use the prepared box simply install Vagrant and fetch the box with vagrant box add berendt/devstack-ubuntu-14.04-amd64. Now you can use the box with the following Vagrantfile. After typing vagrant up the start of the box will take appr. 10 minutes. Afterwards you can login with vagrant ssh. The dashboard is available at http://localhost:8080/. Add 127.0.0.1 openstack.site to /etc/hosts to be able to use the VNC sessions.

VAGRANTFILE_API_VERSION = "2"

Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|

  config.vm.box = "berendt/devstack-ubuntu-14.04-amd64"

  config.vm.network "forwarded_port", guest: 80, host: 8080, host_ip: "127.0.0.1"
  config.vm.network "forwarded_port", guest: 6080, host: 6080, host_ip: "127.0.0.1"

  config.vm.provider "virtualbox" do |vb|
      vb.customize ["modifyvm", :id, "--memory", "16384"]
      vb.customize ["modifyvm", :id, "--cpus", "8"]
  end

  config.vm.provision "shell", privileged: false, inline: "/home/vagrant/devstack/stack.sh"

end

3 thoughts on “An other Vagrant box with Devstack and Ubuntu 14.04

  1. Pingback: OpenStack Community Weekly Newsletter (Apr 4 – 11) » The OpenStack Blog

  2. after installing

    what username and password
    to enter openstack dashboard on the host at 127.0.0.1

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>