summaryrefslogtreecommitdiffstats
path: root/fuel-plugin
diff options
context:
space:
mode:
Diffstat (limited to 'fuel-plugin')
-rwxr-xr-xfuel-plugin/vagrant/build_fuel_plugin.sh12
1 files 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