a68600fc6c
This integrates the freshly added devstack plugin with the Kuryr Vagrant setup. Also cleans up a few nits found while here in plugin.sh Change-Id: I5de55e7d6415d4bffe8bb7a2b2e5e15188815c36 Signed-off-by: Kyle Mestery <mestery@mestery.com>
32 lines
823 B
Ruby
32 lines
823 B
Ruby
VAGRANTFILE_API_VERSION = "2"
|
|
VM_MEMORY = 4096
|
|
VM_CPUS = 2
|
|
|
|
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
|
|
|
|
config.vm.hostname = "devstack"
|
|
|
|
config.vm.provider "virtualbox" do |vb, override|
|
|
override.vm.box = "trusty"
|
|
override.vm.box_url = "https://cloud-images.ubuntu.com/vagrant/trusty/current/trusty-server-cloudimg-amd64-vagrant-disk1.box"
|
|
vb.memory = VM_MEMORY
|
|
vb.cpus = VM_CPUS
|
|
end
|
|
|
|
config.vm.provider "parallels" do |v, override|
|
|
override.vm.box = "boxcutter/ubuntu1404"
|
|
v.memory = VM_MEMORY
|
|
v.cpus = VM_CPUS
|
|
v.customize ["set", :id, "--nested-virt", "on"]
|
|
end
|
|
|
|
config.vm.synced_folder "../../devstack/", "/vagrant/devstack"
|
|
|
|
config.vm.provision :shell, :path => "vagrant.sh"
|
|
|
|
if Vagrant.has_plugin?("vagrant-cachier")
|
|
config.cache.scope = :box
|
|
end
|
|
|
|
end
|