-
-
Save nelsonjchen/c09924feb0830415a1d0 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ 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. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
config.vm.provider :virtualbox do |vb| | |
vb.customize ['modifyvm', :id, '--usb', 'on'] | |
vb.customize ['usbfilter', 'add', '0', '--target', :id, '--name', 'edimax7718un', '--vendorid', '0x7392'] | |
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# -*- mode: ruby -*- | |
# vi: set ft=ruby : | |
Vagrant.configure("2") do |config| | |
config.vm.box = "ubuntu10" | |
config.vm.provider :virtualbox do |vb| | |
vb.customize ["controlvm", :id, "usbattach", "p=0x7811;v=0x7392;s=0x000087b375caedec;l=0xfd120000"] | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment