-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathVagrantfile
39 lines (33 loc) · 1.41 KB
/
Vagrantfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
# -*- mode: ruby -*-
# vi: set ft=ruby :
box = 'debian-8-desktop'
url = ''
cksum = 'e48b4620b52ac3aadf26e9452524fa42c477df043ee98d2daa79a2b628de605a'
cktype = 'sha256'
name = 'debian-8'
# 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.define name, primary: true do |problem|
# Every Vagrant virtual environment requires a box to build off of.
problem.vm.box = box
problem.vm.box_url = url
problem.vm.box_download_checksum = cksum
problem.vm.box_download_checksum_type = cktype
# Share an additional folder to the guest VM. The first argument is
# the path on the host to the actual folder. The second argument is
# the path on the guest to mount the folder. And the optional third
# argument is a set of non-required options.
# problem.vm.synced_folder "../data", "/vagrant_data"
#problem.vm.synced_folder ".", "/vagrant", disabled: true
# Provision using a shell script
problem.vm.provision :shell, path: "setup.sh"
# Provider-specific problemuration so you can fine-tune various
# backing providers for Vagrant. These expose provider-specific options.
# Example for VirtualBox:
problem.vm.provider :virtualbox do |vb|
vb.gui = true
vb.customize ["modifyvm", :id, "--clipboard", "bidirectional"]
end
end
end