summaryrefslogtreecommitdiffstats
path: root/fuel-plugin/vagrant
diff options
context:
space:
mode:
authorGuo Ruijing <ruijing.guo@intel.com>2017-06-22 08:47:04 -0700
committerGuo Ruijing <ruijing.guo@intel.com>2017-06-22 08:47:21 -0700
commit10e9106094d2989909eaa0015a45574137b7776c (patch)
tree8a9f3163b91a7e761497680c03fd42dabacfb009 /fuel-plugin/vagrant
parent465249b61b72d33fe1fad8d43da332faef22bec0 (diff)
cleanup: remove fuel plugin since fuel@opnfv uses mcp
Change-Id: I5e0687008c53ee03973da5a3b58880b9b7c7de1c Signed-off-by: Guo Ruijing <ruijing.guo@intel.com>
Diffstat (limited to 'fuel-plugin/vagrant')
-rw-r--r--fuel-plugin/vagrant/Vagrantfile24
-rwxr-xr-xfuel-plugin/vagrant/build_fuel_plugin.sh18
2 files changed, 0 insertions, 42 deletions
diff --git a/fuel-plugin/vagrant/Vagrantfile b/fuel-plugin/vagrant/Vagrantfile
deleted file mode 100644
index b65433b49..000000000
--- a/fuel-plugin/vagrant/Vagrantfile
+++ /dev/null
@@ -1,24 +0,0 @@
-# -*- mode: ruby -*-
-# vi: set ft=ruby :
-
-# Vagrantfile API/syntax version. Don't touch unless you know what you're doing!
-VAGRANTFILE_API_VERSION = "2"
-
-Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
-
- config.vm.box = "trusty-server-cloudimg-amd64-vagrant-disk1.box"
- config.vm.box_url = "https://cloud-images.ubuntu.com/vagrant/trusty/current/trusty-server-cloudimg-amd64-vagrant-disk1.box"
-
- 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.synced_folder "../..", "/kvmfornfv"
- h.vm.provider :virtualbox do |v|
- file_to_disk = "large_disk_file.vdi"
- v.customize ["modifyvm", :id, "--memory", 4096]
- v.customize ["modifyvm", :id, "--cpus", 4]
- v.customize ['createhd', '--filename', file_to_disk, '--size', 500 * 1024]
- v.customize ['storageattach', :id, '--storagectl', 'SATAController', '--port', 1, '--device', 0, '--type', 'hdd', '--medium', file_to_disk ]
- end
- end
-end
diff --git a/fuel-plugin/vagrant/build_fuel_plugin.sh b/fuel-plugin/vagrant/build_fuel_plugin.sh
deleted file mode 100755
index 58ea3ca33..000000000
--- a/fuel-plugin/vagrant/build_fuel_plugin.sh
+++ /dev/null
@@ -1,18 +0,0 @@
-#!/bin/bash
-sudo apt-get update -y
-sudo apt-get install -y ruby-dev rubygems-integration python-pip rpm createrepo dpkg-dev libssl-dev
-sudo gem install fpm
-sudo pip install fuel-plugin-builder
-sudo apt-get install docker.io -y
-
-echo y | sudo mkfs.ext4 /dev/sdb
-sudo mount /dev/sdb /mnt
-sudo chown vagrant:vagrant /mnt
-
-cd /mnt
-# Will build fuel-plugin-kvm in guest VM local directory, not change host
-cp -r /kvmfornfv .
-cd kvmfornfv/fuel-plugin
-fpb --debug --build .
-# Copy the built fuel-plugin-kvm back to the host
-cp *.rpm /vagrant