-
Notifications
You must be signed in to change notification settings - Fork 41
Expand file tree
/
Copy pathVagrantfile
More file actions
31 lines (20 loc) · 730 Bytes
/
Vagrantfile
File metadata and controls
31 lines (20 loc) · 730 Bytes
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
# -*- mode: ruby -*-
# vi: set ft=ruby :
Vagrant.configure("2") do |config|
# Using Centos 7 since the kernel includes SocketCAN drivers
config.vm.box = "centos/7"
# Share current directory and sync the data
config.vm.synced_folder ".", "/virtualcar"
config.vm.provider "virtualbox" do |vb|
# Customize the amount of memory on the VM:
vb.memory = "2048"
end
# Configure neccessary development and testing environment
# + Devtools provision
config.vm.provision :shell, path: "./provision/dev.sh"
# + Show readme
config.vm.provision :shell, inline: "cat /virtualcar/README.md", run:
"always"
# + Compile
config.vm.provision :shell, inline: "cd /virtualcar && make"
end