license: Add license info to all project files
[vswitchperf.git] / fuel-plugin-vsperf / vagrant / Vagrantfile
1 # Copyright (c) 2016-2017 Intel corporation.
2 #
3 # All rights reserved. This program and the accompanying materials
4 # are made available under the terms of the Apache License, Version 2.0
5 # which accompanies this distribution, and is available at
6 # http://www.apache.org/licenses/LICENSE-2.0
7
8 # # -*- mode: ruby -*-
9 # vi: set ft=ruby :
10
11 # Vagrantfile API/syntax version. Don't touch unless you know what you're doing!
12 VAGRANTFILE_API_VERSION = "2"
13
14 Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
15
16   config.vm.box = "trusty-server-cloudimg-amd64"
17   config.vm.box_url = "https://cloud-images.ubuntu.com/vagrant/trusty/current/trusty-server-cloudimg-amd64-vagrant-disk1.box"
18
19   config.vm.define "fuel" do | h |
20     h.vm.host_name = "fuel"
21     h.vm.provision :shell, :inline => "/vagrant/build_fuel_plugin.sh"
22     h.vm.synced_folder "../..", "/vswitchperf"
23     h.vm.provider :virtualbox do |v|
24       v.customize ["modifyvm", :id, "--memory", 4096]
25       v.customize ["modifyvm", :id, "--cpus", 4]
26     end
27   end
28 end