Created
November 2, 2019 21:37
-
-
Save clouetb/6c29af68a10bdbb2241e27ee61d05f9c to your computer and use it in GitHub Desktop.
Vagrant set usb controller present for VMWare
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 = "bento/centos-8" | |
config.vm.provider "vmware_desktop" do |vm| | |
vm.vmx["usb_xhci.present"] = "TRUE" | |
vm.vmx["usb.present"] = "TRUE" | |
vm.vmx["ehci.present"] = "TRUE" | |
vm.vmx["usb_xhci.present"] = "TRUE" | |
# Apparently GUI must be present for automatic plugging onto the guest to be working | |
vm.gui = true | |
vm.vmx["usb.generic.pluginAction"] = "guest" | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment