aboutsummaryrefslogtreecommitdiffstats
path: root/src/fuel-plugin/vagrant/build_fuel_plugin.sh
diff options
context:
space:
mode:
Diffstat (limited to 'src/fuel-plugin/vagrant/build_fuel_plugin.sh')
-rwxr-xr-xsrc/fuel-plugin/vagrant/build_fuel_plugin.sh10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/fuel-plugin/vagrant/build_fuel_plugin.sh b/src/fuel-plugin/vagrant/build_fuel_plugin.sh
new file mode 100755
index 00000000..a42217fe
--- /dev/null
+++ b/src/fuel-plugin/vagrant/build_fuel_plugin.sh
@@ -0,0 +1,10 @@
+#!/bin/bash
+sudo apt-get update -y
+sudo apt-get install -y ruby-dev rubygems-integration python-pip rpm createrepo dpkg-dev git
+sudo gem install fpm
+sudo pip install fuel-plugin-builder
+cp -r /fuel-plugin /home/vagrant
+cd /home/vagrant/fuel-plugin;
+rm -rf vagrant/.vagrant
+fpb --debug --build .
+cp *.rpm /vagrant