From 8494dca647761592d7dd822849e56546f107dcb1 Mon Sep 17 00:00:00 2001 From: Guo Ruijing Date: Thu, 7 Jul 2016 02:07:02 +0800 Subject: Update fuel plugin builder installation Change-Id: Ife16738ea8717749c52e950404257936994fe273 Signed-off-by: Guo Ruijing --- fuel-plugin-vsperf/vagrant/README.md | 8 ++++++++ fuel-plugin-vsperf/vagrant/build_fuel_plugin.sh | 9 ++------- 2 files changed, 10 insertions(+), 7 deletions(-) create mode 100644 fuel-plugin-vsperf/vagrant/README.md (limited to 'fuel-plugin-vsperf/vagrant') 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 -- cgit 1.2.3-korg