aboutsummaryrefslogtreecommitdiffstats
path: root/src/fuel-plugin/vagrant
diff options
context:
space:
mode:
authorGuo Ruijing <ruijing.guo@intel.com>2016-12-18 19:31:42 -0500
committerGuo Ruijing <ruijing.guo@intel.com>2016-12-27 20:06:41 -0500
commit6c8273116b62d5fc6a85b6914930756f81f7175b (patch)
tree70b4bf5a0f03af8ea138f1a81f17ac44a10dc45e /src/fuel-plugin/vagrant
parentdb7cec29b6a71c0eb0a5a3bcb1e20c4fac73d804 (diff)
build collectd with pqos
1. can build collectd with pqos 2. ceilometer with collectd basic functionality work as expected 3. todo: need to verify pqos work as expected Change-Id: I9f992de6ef5d8c0ea97a30162dd916bcd3accb34 Signed-off-by: Guo Ruijing <ruijing.guo@intel.com>
Diffstat (limited to 'src/fuel-plugin/vagrant')
-rw-r--r--src/fuel-plugin/vagrant/Vagrantfile2
-rwxr-xr-xsrc/fuel-plugin/vagrant/build_fuel_plugin.sh10
2 files changed, 1 insertions, 11 deletions
diff --git a/src/fuel-plugin/vagrant/Vagrantfile b/src/fuel-plugin/vagrant/Vagrantfile
index 8e2d9db1..ba237d79 100644
--- a/src/fuel-plugin/vagrant/Vagrantfile
+++ b/src/fuel-plugin/vagrant/Vagrantfile
@@ -10,7 +10,7 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
config.vm.define "fuel" do | h |
h.vm.host_name = "fuel"
- h.vm.provision :shell, :inline => "/vagrant/build_fuel_plugin.sh", privileged: false
+ h.vm.provision :shell, :inline => "cd /fuel-plugin; ./build_fuel_plugin.sh", privileged: false
h.vm.synced_folder "..", "/fuel-plugin"
h.vm.provider :virtualbox do |v|
v.customize ["modifyvm", :id, "--memory", 4096]
diff --git a/src/fuel-plugin/vagrant/build_fuel_plugin.sh b/src/fuel-plugin/vagrant/build_fuel_plugin.sh
deleted file mode 100755
index ea77b075..00000000
--- a/src/fuel-plugin/vagrant/build_fuel_plugin.sh
+++ /dev/null
@@ -1,10 +0,0 @@
-#!/bin/bash
-sudo apt-get update -y
-sudo apt-get install -y ruby-dev rubygems-integration python-pip rpm createrepo dpkg-dev git docker.io
-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