Skip to content

Instantly share code, notes, and snippets.

Forked from dscape/out.log
Created Jul 25, 2013
What would you like to do?
$ vagrant up
Bringing machine 'default' up with 'virtualbox' provider...
[default] Setting the name of the VM...
[default] Clearing any previously set forwarded ports...
[default] Creating shared folders metadata...
[default] Clearing any previously set network interfaces...
[default] Preparing network interfaces based on configuration...
[default] Forwarding ports...
[default] -- 22 => 2222 (adapter 1)
[default] Running any VM customizations...
A customization command failed:
["controlvm", "13e6f29d-db68-4639-8a49-d75fafce637b", "usbattach", "p=0x7811;v=0x7392;s=0x000087b375caedec;l=0xfd120000"]
The following error was experienced:
VBoxManage: error: Cannot attach a USB device to the machine which is not running or paused (machine state: PoweredOff)
VBoxManage: error: Details: code VBOX_E_INVALID_VM_STATE (0x80bb0002), component Console, interface IConsole, callee nsISupports
VBoxManage: error: Context: "AttachUSBDevice(usbId.raw())" at line 955 of file VBoxManageControlVM.cpp
Please fix this customization and try again.
config.vm.provider :virtualbox do |vb|
vb.customize ['modifyvm', :id, '--usb', 'on']
vb.customize ['usbfilter', 'add', '0', '--target', :id, '--name', 'edimax7718un', '--vendorid', '0x7392']
# -*- mode: ruby -*-
# vi: set ft=ruby :
Vagrant.configure("2") do |config| = "ubuntu10"
config.vm.provider :virtualbox do |vb|
vb.customize ["controlvm", :id, "usbattach", "p=0x7811;v=0x7392;s=0x000087b375caedec;l=0xfd120000"]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment