summaryrefslogtreecommitdiffstats
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.sh8
1 files changed, 8 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 0000000..4cd579f
--- /dev/null
+++ b/src/fuel-plugin/vagrant/build_fuel_plugin.sh
@@ -0,0 +1,8 @@
+#!/bin/bash
+sudo apt-get update -y
+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
+cp -r /fuel-plugin /home/vagrant
+cd /home/vagrant/fuel-plugin; fpb --debug --build .
+cp /home/vagrant/fuel-plugin/*.rpm /vagrant