mirror of
https://github.com/vagrant-libvirt/vagrant-libvirt.git
synced 2025-02-25 18:55:27 -06:00
Update README.md (#1441)
Fixed USB Device Passthrough example. It should use libvirt.usb instead of libvirt.usbdev
This commit is contained in:
parent
ef0686da4a
commit
d11f0baca4
@ -1212,9 +1212,9 @@ Bus 001 Device 002: ID 1234:abcd Example device
|
||||
Vagrant.configure("2") do |config|
|
||||
config.vm.provider :libvirt do |libvirt|
|
||||
# pass through specific device based on identifying it
|
||||
libvirt.usbdev :vendor => '0x1234', :product => '0xabcd'
|
||||
libvirt.usb :vendor => '0x1234', :product => '0xabcd'
|
||||
# pass through a host device where multiple of the same vendor/product exist
|
||||
libvirt.usbdev :bus => '1', :device => '1'
|
||||
libvirt.usb :bus => '1', :device => '1'
|
||||
end
|
||||
end
|
||||
```
|
||||
|
Loading…
Reference in New Issue
Block a user