Fix: ISO build omits long path files
[fuel.git] / build / vagrant / Vagrantfile
1 # -*- mode: ruby -*-
2 # vi: set ft=ruby :
3
4 # Vagrantfile API/syntax version. Don't touch unless you know what you're doing!
5 VAGRANTFILE_API_VERSION = "2"
6
7 Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
8
9   config.vm.box = "trusty-server-cloudimg-amd64"
10   config.vm.box_url = "https://cloud-images.ubuntu.com/vagrant/trusty/current/trusty-server-cloudimg-amd64-vagrant-disk1.box"
11
12   config.vm.define "fuel" do | h |
13     h.vm.host_name = "fuel"
14     h.vm.synced_folder "../..", "/fuel"
15     h.vm.provider :virtualbox do |v|
16       v.customize ["modifyvm", :id, "--memory", 8192]
17       v.customize ["modifyvm", :id, "--cpus", 8]
18       file_to_disk = 'large_disk.vdi'
19       v.customize ['createhd', '--filename', file_to_disk, '--size', 512 * 1024]
20       v.customize ['storageattach', :id, '--storagectl', 'SATAController', '--port', 1, '--device', 0, '--type', 'hdd', '--medium', file_to_disk ]
21     end
22   end
23 end