mistral-extra/Vagrantfile
Kirill Izotov 67185c62de Add vagrant environment with devstack and mistral
Also:
 - Fixed several typos

Change-Id: I23d187abf7a1984fc9021a34317852319d7e10a4
2014-07-01 17:51:51 +07:00

22 lines
739 B
Ruby

# -*- mode: ruby -*-
# vi: set ft=ruby :
require 'securerandom'
Vagrant.configure("2") do |config|
config.vm.box = "hashicorp/precise64"
hostname = "mistralextra"
config.vm.define "#{hostname}" do |box|
box.vm.hostname = "#{hostname}.book"
box.vm.network :private_network, ip: "172.16.80.100", :netmask => "255.255.0.0"
box.vm.network :forwarded_port, guest: 8000, host: 8000
box.vm.synced_folder ".", "/opt/mistral-extra"
box.vm.provision :shell, :path => "bootstrap.sh"
box.vm.provider :virtualbox do |vbox|
vbox.customize ["modifyvm", :id, "--memory", 3072]
vbox.customize ["modifyvm", :id, "--cpus", 2]
vbox.customize ["modifyvm", :id, "--natdnshostresolver1", "on"]
end
end
end