aboutsummaryrefslogtreecommitdiffstats
path: root/fuel-plugin-vsperf/vagrant/Vagrantfile
diff options
context:
space:
mode:
authorGuo Ruijing <ruijing.guo@intel.com>2016-05-20 10:35:39 +0800
committerGuo Ruijing <ruijing.guo@intel.com>2016-05-20 14:33:48 +0800
commit5df5198c8b178debaf0e7190a42fa6cc2851b633 (patch)
tree05aab8a150e258a02b94c25c092f2656d833f6e8 /fuel-plugin-vsperf/vagrant/Vagrantfile
parentcc5df3ec2038249425c8313bdb73add3d1268b09 (diff)
Rebase to fuel 9.0 and add vagrant based build and enhance some scripts
Change-Id: Id3a38d662c330cd388c6509c9d6e90409c1da6e7 Signed-off-by: Guo Ruijing <ruijing.guo@intel.com>
Diffstat (limited to 'fuel-plugin-vsperf/vagrant/Vagrantfile')
-rw-r--r--fuel-plugin-vsperf/vagrant/Vagrantfile21
1 files changed, 21 insertions, 0 deletions
diff --git a/fuel-plugin-vsperf/vagrant/Vagrantfile b/fuel-plugin-vsperf/vagrant/Vagrantfile
new file mode 100644
index 00000000..d83ac4cc
--- /dev/null
+++ b/fuel-plugin-vsperf/vagrant/Vagrantfile
@@ -0,0 +1,21 @@
+# -*- mode: ruby -*-
+# vi: set ft=ruby :
+
+# Vagrantfile API/syntax version. Don't touch unless you know what you're doing!
+VAGRANTFILE_API_VERSION = "2"
+
+Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
+
+ config.vm.box = "trusty-server-cloudimg-amd64"
+ config.vm.box_url = "https://cloud-images.ubuntu.com/vagrant/trusty/current/trusty-server-cloudimg-amd64-vagrant-disk1.box"
+
+ config.vm.define "fuel" do | h |
+ h.vm.host_name = "fuel"
+ h.vm.provision :shell, :inline => "/vagrant/build_fuel_plugin.sh"
+ h.vm.synced_folder "../..", "/vswitchperf"
+ h.vm.provider :virtualbox do |v|
+ v.customize ["modifyvm", :id, "--memory", 4096]
+ v.customize ["modifyvm", :id, "--cpus", 4]
+ end
+ end
+end