summaryrefslogtreecommitdiffstats
path: root/fuel-plugin/vagrant/Vagrantfile
diff options
context:
space:
mode:
authorJiang, Yunhong <yunhong.jiang@intel.com>2017-03-07 07:06:33 +0000
committerGerrit Code Review <gerrit@opnfv.org>2017-03-07 07:06:33 +0000
commit8902a7b3234a70b6a665cb2213193babe2550805 (patch)
treeb7ba826dada71fdcd09f7f41d73a81ca47b119b0 /fuel-plugin/vagrant/Vagrantfile
parent77e6660ea78c5934e4b606a5342c4e0e64be1de6 (diff)
parent10713de83e93f478e2601a0e79f594d66cceb7dd (diff)
Merge "Add disk to vagrant for fuel plugin build"
Diffstat (limited to 'fuel-plugin/vagrant/Vagrantfile')
-rw-r--r--fuel-plugin/vagrant/Vagrantfile3
1 files changed, 3 insertions, 0 deletions
diff --git a/fuel-plugin/vagrant/Vagrantfile b/fuel-plugin/vagrant/Vagrantfile
index f9d17fc4e..b65433b49 100644
--- a/fuel-plugin/vagrant/Vagrantfile
+++ b/fuel-plugin/vagrant/Vagrantfile
@@ -14,8 +14,11 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
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