Skip to content

Instantly share code, notes, and snippets.

@jeffhung
Last active November 14, 2016 07:07
Show Gist options
  • Save jeffhung/d26c678587202ef77d55fc6e737632f5 to your computer and use it in GitHub Desktop.
Save jeffhung/d26c678587202ef77d55fc6e737632f5 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