summaryrefslogtreecommitdiffstats
path: root/fuel-plugin/vagrant/build_fuel_plugin.sh
diff options
context:
space:
mode:
authorJiang, Yunhong <yunhong.jiang@intel.com>2016-07-19 01:40:51 +0000
committerGerrit Code Review <gerrit@172.30.200.206>2016-07-19 01:40:51 +0000
commite9bb3d8bce40608c6890ea5298746668b8667462 (patch)
tree1f4cda0cc18f771e8e418910c89184c430300a7a /fuel-plugin/vagrant/build_fuel_plugin.sh
parentae06ae07a93149c53316798167f1fad4e3d9c3b3 (diff)
parentbfa3371514e42d0d1bdcff1198c4b4a73868ad60 (diff)
Merge "Update fuel plugin builder installation"
Diffstat (limited to 'fuel-plugin/vagrant/build_fuel_plugin.sh')
-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