Quantcast
Channel: Ubuntu Forums - Virtualisation
Viewing all articles
Browse latest Browse all 4211

LXD : how to set USB device to a container

$
0
0
Hello,

I had to upgrade from ubuntu 14.04 32bits with lxc to ubuntu 16.04 64bits with lxd.

With LXD, I do not know how to give a USB device to a container.

Previously, I just had to add in config file of the container:
Code:

lxc.cgroup.devices.allow = c 188:* rwm
lxc.mount.entry = /dev/ttyUSB0  dev/ttyUSB0  none  bind,optional

Now, I have no idea of the proper command : lxc config device add <[remote:]container> <name> <type> [key=value]...

Not found any examples nor doc for this case.

TIA

JP

Viewing all articles
Browse latest Browse all 4211

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>