Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
51 changes: 18 additions & 33 deletions vagrant/Vagrantfile
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,23 @@ Vagrant.configure("2") do |config|
vb.customize ["usbfilter", "add", "0", "--target", :id, "--name", "Future Technology Devices International, Ltd FT2232C/D/H Dual UART/FIFO IC", "--vendorid", "0x0403", "--productid", "0x6010"]
end

# Configuration for libvirt
config.vm.provider :libvirt do |libvirt|
libvirt.memory = 2048
libvirt.cpus = 2
libvirt.graphics_type = "spice"
libvirt.video_type = "qxl"

# Nexus 5
libvirt.usb :vendor => '0x18d1', :product => '0x4ee2', :startupPolicy => 'optional'

# Bluetooth Dongle
libvirt.usb :vendor => '0x8087', :product => '0x0026', :startupPolicy => 'optional'

# FTDI Dual UART
libvirt.usb :vendor => '0x0403', :product => '0x6010', :startupPolicy => 'optional'
end

# Disable automatic box update checking. If you disable this, then
# boxes will only be checked for updates when the user runs
# `vagrant box outdated`. This is not recommended.
Expand Down Expand Up @@ -76,36 +93,4 @@ Vagrant.configure("2") do |config|
# apt-get install -y apache2
# SHELL
config.vm.provision :shell, path: "./vagrant_install.sh", privileged: true
end
































end