lacekim](https://app.slack.com/team/USK3YQ08J) 4:01 PM
# VM specific configs
config.vm.provider "virtualbox" do |v|
v.name = "ARK Ledger App Development Box"
v.customize ["modifyvm", :id, "--memory", "1024"]
# Connect Ledger Nano S throug usb
v.customize ["modifyvm", :id, "--usb", "on"]
v.customize ["modifyvm", :id, "--usbehci", "on"]
v.customize ["usbfilter", "add", "0",
"--target", :id,
"--name", "Ledger Nano S",
"--manufacturer", "Ledger",
"--product", "Nano S"]
end
And im running a macbook pro with usb-c’s.
mikecallahan@Mikes-MacBook-Pro ~/VagrantVMs/ledger master vagrant up --provider virtualbox
Bringing machine ‘default’ up with ‘virtualbox’ provider…
==> default: Box ‘ubuntu/bionic64’ could not be found. Attempting to find and install…
default: Box Provider: virtualbox
default: Box Version: 20190814.0.0
==> default: Loading metadata for box ‘ubuntu/bionic64’
default: URL: https://vagrantcloud.com/ubuntu/bionic64
==> default: Adding box 'ubuntu/bionic64' (v20190814.0.0) for provider: virtualbox
default: Downloading:
https://vagrantcloud.com/ubuntu/boxes/bionic64/versions/20190814.0.0/providers/virtualbox.box
default: Download redirected to host:
cloud-images.ubuntu.com
==> default: Successfully added box 'ubuntu/bionic64' (v20190814.0.0) for 'virtualbox'!
==> default: Importing base box 'ubuntu/bionic64'...
==> default: Matching MAC address for NAT networking...
==> default: Checking if box 'ubuntu/bionic64' version '20190814.0.0' is up to date...
==> default: Setting the name of the VM: ARK Ledger App Development Box
==> default: Clearing any previously set network interfaces...
==> default: Preparing network interfaces based on configuration...
default: Adapter 1: nat
==> default: Forwarding ports...
default: 22 (guest) => 2222 (host) (adapter 1)
==> default: Running 'pre-boot' VM customizations...
==> default: Booting VM...
There was an error while executing
VBoxManage, a CLI used by Vagrant
for controlling VirtualBox. The command and stderr is shown below.
Command: ["startvm", "fc62835d-d20a-461b-840e-b990141d90b4", "--type", "headless"]
Stderr: VBoxManage: error: Implementation of the USB 2.0 controller not found!
VBoxManage: error: Because the USB 2.0 controller state is part of the saved VM state, the VM cannot be started. To fix this problem, either install the 'Oracle VM VirtualBox Extension Pack' or disable USB 2.0 support in the VM settings.
VBoxManage: error: Note! This error could also mean that an incompatible version of the 'Oracle VM VirtualBox Extension Pack' is installed (VERR_NOT_FOUND)
VBoxManage: error: Details: code NS_ERROR_FAILURE (0x80004005), component ConsoleWrap, interface IConsole
✘ mikecallahan@Mikes-MacBook-Pro ~/VagrantVMs/ledger master