Pages

LXD : how to set USB device to a container

jeudi 11 août 2016

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

Let's block ads! (Why?)



LXD : how to set USB device to a container

Aucun commentaire:

Enregistrer un commentaire