summaryrefslogtreecommitdiffstats
path: root/build/vagrant/Vagrantfile
blob: 0fbadf2ae95ab5d4deb78e0c26d3c9b4168fd0d9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# -*- 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"
  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.synced_folder "../..", "/fuel"
    h.vm.provider :virtualbox do |v|
      v.customize ["modifyvm", :id, "--memory", 8192]
      v.customize ["modifyvm", :id, "--cpus", 8]
      file_to_disk = 'large_disk.vdi'
      v.customize ['createhd', '--filename', file_to_disk, '--size', 512 * 1024]
      v.customize ['storageattach', :id, '--storagectl', 'SATAController', '--port', 1, '--device', 0, '--type', 'hdd', '--medium', file_to_disk ]
    end
  end
end