summaryrefslogtreecommitdiffstats
path: root/fuel-plugin/vagrant/build_fuel_plugin.sh
diff options
context:
space:
mode:
Diffstat (limited to 'fuel-plugin/vagrant/build_fuel_plugin.sh')
-rwxr-xr-xfuel-plugin/vagrant/build_fuel_plugin.sh16
1 files changed, 16 insertions, 0 deletions
diff --git a/fuel-plugin/vagrant/build_fuel_plugin.sh b/fuel-plugin/vagrant/build_fuel_plugin.sh
new file mode 100755
index 000000000..b016176fb
--- /dev/null
+++ b/fuel-plugin/vagrant/build_fuel_plugin.sh
@@ -0,0 +1,16 @@
+#!/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 gem install fpm
+sudo apt-get install docker.io -y
+cp -r /yardstick /home/vagrant
+cd /home/vagrant/yardstick/fuel-plugin;
+rm -rf vagrant/.vagrant
+fpb --debug --build .
+cp *.rpm /vagrant