-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathVagrantfile
50 lines (39 loc) · 1.53 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
40
41
42
43
44
45
46
47
48
49
50
# -*- mode: ruby -*-
# vi: set ft=ruby :
############################################################
# VM settings variables - Can be reviewed and customized
############################################################
# VAGRANTFILE_API_VERSION: to choose which API to use. Recommended to use 2.
VAGRANTFILE_API_VERSION = "2"
# VARIABLES for virtualbox and vmware as provider
VIRTUALBOX = "virtualbox"
VMWARE = "vmware_fusion"
# VM_PATH: the name or full url of the base VM to use
VM_PATH = "rootware/flareVm"
# VM_UPDATE: set to true to check for base VM updates
VM_UPDATE = true
# VM_Name: can be changed here
VM_NAME = "forensicsLab"
# VM_CPUS: specify the number of CPU cores to allocate to the VM
# VM_CPUS = "4"
VM_CPUS = "2"
# VM_MEMORY: specify the amount of memory to allocate to the VM
#VM_MEMORY = "8192"
VM_MEMORY = "4096"
#VM_MEMORY = "2048"
########################################################################################
# THE COMPONENTS BELOW SHOULD NOT BE ALTERED UNLESS YOU KNOW WHAT YOU'RE DOING
########################################################################################
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
config.vm.box = VM_PATH
config.vm.network :private_network, type: "dhcp"
config.vm.hostname = VM_NAME
config.vm.box_check_update = VM_UPDATE
config.vm.provider VIRTUALBOX do |vb|
vb.name = VM_NAME
vb.cpus = VM_CPUS
vb.memory = VM_MEMORY
vb.customize ["modifyvm", :id, "--vram", "256"]
# vb.customize ["modifyvm", :id, "--accelerate3d", "on"]
end
end