diff options
author | Guo Ruijing <ruijing.guo@intel.com> | 2016-07-12 01:57:52 +0800 |
---|---|---|
committer | Guo Ruijing <ruijing.guo@intel.com> | 2016-07-12 01:58:53 +0800 |
commit | 54ea933ac9643d2d2f3714aa06afc978fc60551e (patch) | |
tree | c8df88f89aa75f095af4fbe7d3a3b64746c9f16a /src/fuel-plugin/vagrant/build_fuel_plugin.sh | |
parent | 215a65015908064b6ca996286584933002f0287a (diff) |
Add Fuel Plugin
Change-Id: Ib1a4b7057678e435683b23692310f4e309c3fe10
Signed-off-by: Guo Ruijing <ruijing.guo@intel.com>
Diffstat (limited to 'src/fuel-plugin/vagrant/build_fuel_plugin.sh')
-rwxr-xr-x | src/fuel-plugin/vagrant/build_fuel_plugin.sh | 10 |
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 |