barbican/devstack/barbican-vagrant/Vagrantfile
Fernando Diaz c75c3a08fb Warning about tox not working in Vagrant setup
Adds a warning to the vagrant setup section of the devstack setup
documentation. The warning states that tox will not be able to run
if the user sets up shared folders. It also provides instructions
on disabling shared folders.

Change-Id: I776004da8ab86760eaeaef7957c9bfba111d2f36
2016-01-08 19:14:45 +00:00

27 lines
656 B
Ruby

# -*- mode: ruby -*-
# vi: set ft=ruby :
VAGRANTFILE_API_VERSION = "2"
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
config.vm.box = "ubuntu/trusty64"
# Barbican Ports
config.vm.network "forwarded_port", guest: 9311, host: 9311
# Keystone Ports
config.vm.network "forwarded_port", guest: 35357, host: 35357
config.vm.network "forwarded_port", guest: 5000, host: 5000
config.vm.provision "shell", path: "install_devstack.sh"
# Create Synced Folder
config.vm.synced_folder "./devstack", "/opt/stack", create: true
config.vm.provider "virtualbox" do |v|
v.name = "Devstack"
v.memory = 2048
v.cpus = 2
end
end