From bfa3371514e42d0d1bdcff1198c4b4a73868ad60 Mon Sep 17 00:00:00 2001 From: Guo Ruijing Date: Thu, 7 Jul 2016 06:45:05 +0800 Subject: Update fuel plugin builder installation Upstream status: N/A Change-Id: If27d36d8a7790723b9145ffe567d9bfed925e5ed Signed-off-by: Guo Ruijing --- fuel-plugin/vagrant/build_fuel_plugin.sh | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/fuel-plugin/vagrant/build_fuel_plugin.sh b/fuel-plugin/vagrant/build_fuel_plugin.sh index b18ae173b..e315b111f 100755 --- a/fuel-plugin/vagrant/build_fuel_plugin.sh +++ b/fuel-plugin/vagrant/build_fuel_plugin.sh @@ -1,13 +1,8 @@ #!/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 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 cd /home/vagrant # Will build fuel-plugin-kvm in guest VM local directory, not change host @@ -15,5 +10,4 @@ cp -r /kvmfornfv . cd kvmfornfv/fuel-plugin fpb --debug --build . # Copy the built fuel-plugin-kvm back to the host -rm /kvmfornfv/fuel-plugin/fuel-plugin-kvm*.rpm -cp fuel-plugin-kvm*.rpm /kvmfornfv/fuel-plugin/. +cp *.rpm /vagrant -- cgit 1.2.3-korg