You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 24, 2022. It is now read-only.
You should be able to just use config.vm.synced_folder('/dev/bus', '/dev/bus'). The default mount options for synced folders with LXC are bind,create=dir, which will auto-create the target directory in the container. I don't think you need the optional option, since I think that /dev/bus always exists on the host (that option just makes the container startup continue if the mount can't be created). The vagrant-lxc driver will also helpfully strip the leading / from the target folder. If you need to pass any other options, you can pass your own set of mount options as an array of strings as a third argument to synced_folder.
Here's how I got USB access working. (14.04 host and container):
sudo mkdir /dev/bus
in the containervagrant halt
add to Vagrantfile:
The text was updated successfully, but these errors were encountered: