fuel-plugin-ovs/vagrant/build_fuel_plugin.sh
Guo Ruijing be26f88e6e Update fuel plugin builder
Change-Id: Icfcc1364fc5bc17cdc15e323115e66f8089f95fc
Signed-off-by: Guo Ruijing <ruijing.guo@intel.com>
2016-07-07 00:54:21 +08:00

10 lines
345 B
Bash
Executable File

#!/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
sudo apt-get install docker.io -y
cp -r /fuel-plugin /home/vagrant
cd /home/vagrant/fuel-plugin; fpb --debug --build .
cp /home/vagrant/fuel-plugin/*.rpm /vagrant