diff options
Diffstat (limited to 'fuel-plugin/vagrant')
-rw-r--r-- | fuel-plugin/vagrant/Vagrantfile | 24 | ||||
-rwxr-xr-x | fuel-plugin/vagrant/build_fuel_plugin.sh | 18 |
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 |