-
Notifications
You must be signed in to change notification settings - Fork 97
/
Vagrantfile
58 lines (55 loc) · 1.65 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
51
52
53
54
55
56
57
58
# -*- mode: ruby -*-
# vi: set ft=ruby :
Vagrant.configure("2") do |config|
config.vm.network "forwarded_port", guest: 8888, host: 8889
config.vm.box = "bento/ubuntu-16.04"
config.vm.provider "virtualbox" do |vb|
vb.cpus=2
vb.memory=4096
vb.customize ["modifyvm", :id, "--usb", "on"]
vb.customize ["modifyvm", :id, "--usbehci", "on"]
vb.customize ["usbfilter", "add", "0",
"--target", :id,
"--name", "ud100",
"--vendorid","0x0a12",
"--productid","0x0001"
]
#vb.customize ["usbfilter", "add", "0",
# "--target", :id,
# "--name", "ubertooth",
# "--vendorid","0x1d50",
# "--productid","0x6002"
# ]
#vb.customize ["usbfilter", "add", "0",
# "--target", :id,
# "--name", "ubertooth_bootloader",
# "--vendorid","0xffff",
# "--productid","0x0004"
# ]
#vb.customize ["usbfilter", "add", "0",
# "--target", :id,
# "--name", "adafruit sniffer",
# "--vendorid","0x0403",
# "--productid","0x6015"
# ]
#vb.customize ["usbfilter", "add", "0",
# "--target", :id,
# "--name", "redbearlabs_nrf5",
# "--vendorid","0x0d28",
# "--productid","0x0204"
# ]
#vb.customize ["usbfilter", "add", "0",
# "--target", :id,
# "--name", "Jlink",
# "--vendorid","0x1366",
# "--productid","0x0101"
# ]
end
config.vm.provision "shell", path: "vagrant_bluetooth_dev_setup.sh"
config.vm.synced_folder ".", "/vagrant", group: "staff", type: "rsync",
rsync__exclude: [
"build",
".git/objects",
".git/modules/third-party/objects"
]
end