ee204e0cd2
In the Vagrantfile, it still using trusty64. It is too old and it should be updated to Ubuntu16.04 Change-Id: I83477eeb40db5c9da2e9ab9cdfb9b31a176800e9
27 lines
656 B
Ruby
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/xenial64"
|
|
|
|
# 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
|