summaryrefslogtreecommitdiffstats
path: root/fuel-plugin-vsperf/vagrant
diff options
context:
space:
mode:
authorGuo Ruijing <ruijing.guo@intel.com>2016-07-07 02:07:02 +0800
committerMaryam Tahhan <maryam.tahhan@intel.com>2016-07-13 14:47:22 +0000
commit8494dca647761592d7dd822849e56546f107dcb1 (patch)
tree51e7362db1405d8d103b27fc0864e0b5501e6de6 /fuel-plugin-vsperf/vagrant
parent555c74d4aff580b8115d6e79ee985af9a986ff94 (diff)
Update fuel plugin builder installation
Change-Id: Ife16738ea8717749c52e950404257936994fe273 Signed-off-by: Guo Ruijing <ruijing.guo@intel.com>
Diffstat (limited to 'fuel-plugin-vsperf/vagrant')
-rw-r--r--fuel-plugin-vsperf/vagrant/README.md8
-rwxr-xr-xfuel-plugin-vsperf/vagrant/build_fuel_plugin.sh9
2 files changed, 10 insertions, 7 deletions
diff --git a/fuel-plugin-vsperf/vagrant/README.md b/fuel-plugin-vsperf/vagrant/README.md
new file mode 100644
index 00000000..fa0fd823
--- /dev/null
+++ b/fuel-plugin-vsperf/vagrant/README.md
@@ -0,0 +1,8 @@
+Build fuel plugin
+==================
+
+The plugin build support Ubuntu 14.04
+
+1. sudo apt-get install vagrant virtualbox
+
+2. vagrant up
diff --git a/fuel-plugin-vsperf/vagrant/build_fuel_plugin.sh b/fuel-plugin-vsperf/vagrant/build_fuel_plugin.sh
index 77b6a33d..80fc3353 100755
--- a/fuel-plugin-vsperf/vagrant/build_fuel_plugin.sh
+++ b/fuel-plugin-vsperf/vagrant/build_fuel_plugin.sh
@@ -1,11 +1,6 @@
#!/bin/bash
sudo apt-get update -y
-sudo apt-get install createrepo rpm dpkg-dev -y
-sudo apt-get install python-setuptools -y
-sudo apt-get install python-pip -y
-sudo easy_install pip
-sudo pip install fuel-plugin-builder
-sudo apt-get install ruby -y
-sudo gem install rubygems-update
+sudo apt-get install -y ruby-dev rubygems-integration python-pip rpm createrepo dpkg-dev
sudo gem install fpm
+sudo pip install fuel-plugin-builder
fpb --debug --build /vswitchperf/fuel-plugin-vsperf