aboutsummaryrefslogtreecommitdiffstats
path: root/src/fuel-plugin/vagrant
diff options
context:
space:
mode:
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