Skip to content

Instantly share code, notes, and snippets.

@kkdai
Forked from jeffhung/SHELL
Created June 1, 2016 01:17
Show Gist options
  • Save kkdai/744ee24b971db0d9976a6f9156b6e1e9 to your computer and use it in GitHub Desktop.
Save kkdai/744ee24b971db0d9976a6f9156b6e1e9 to your computer and use it in GitHub Desktop.
Vagrantfile for Declaring Tax (2016)
$ VBoxManage list usbhost
Host USB Devices:
...
UUID: 248ee848-3d9e-47cc-96d7-779e54946e39
VendorId: 0x0bda (0BDA)
ProductId: 0x0169 (0169)
Revision: 97.35 (9735)
Port: 1
USB version/speed: 0/2
Manufacturer: Generic
Product: USB2.0-CRW
SerialNumber: 20070818000000000
Address: p=0x0169;v=0x0bda;s=0x00015a5ffb316ace;l=0x14100000
Current State: Unavailable
Vagrant.configure(2) do |config|
config.vm.box = "win7-enterprise-tw"
config.vm.provider "virtualbox" do |vb|
vb.gui = true
vb.customize ["modifyvm", :id, "--usb", "on"]
vb.customize ["modifyvm", :id, "--usbehci", "on"]
vb.customize ['usbfilter', 'add', '0', '--target', :id, '--name', 'USB2.0-CRW', '--vendorid', '0x0bda', '--productid', '0x0169']
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment