VirtualBox

Ticket #17639: Vagrantfile

File Vagrantfile, 1.1 KB (added by axd, 7 years ago)
Line 
1
2$node_script = <<SCRIPT
3 apt-get install -y bluetooth
4SCRIPT
5
6Vagrant.configure("2") do |config|
7# config.vm.box = "base"
8
9 config.vm.box = "debian/stretch64" # or generic/debian9
10 config.vm.box_version = "9.4.0"
11 config.ssh.insert_key = false
12
13 config.vm.network "private_network", ip: "192.168.33.10"
14
15# config.vm.provider "virtualbox" do |vb|
16# vb.name = "vb-node"
17# # workaround for LAH-585
18# vb.customize [ 'modifyvm', :id, '--uartmode1', 'disconnected']
19#
20# # USB BT for "Belkin Components F8T065BF Mini Bluetooth 4.0 Adapter" (values taken from "vboxmanage list usbhost")
21# vb.customize [ 'usbfilter', 'add', '0', '--target', :id, '--name', 'usb-bt', '--vendorid', '0x050d', '--productid', '0x065a' ]
22# # vb.customize [ 'usbfilter', 'add', '0', '--target', :id, '--name', 'usb-bt'] # unsure if vendor/product id are needed - at first sight, yes
23# vb.customize [ 'modifyvm', :id, '--usb', 'on']
24# vb.customize [ 'modifyvm', :id, '--usbehci', 'on'] # USB 2.0
25# end
26
27# config.vm.provision "shell", inline: $node_script
28end

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette