Ben's notes

Linux, Unix, network, radio...

User Tools

Site Tools


lxd_lxc_passthrough

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
lxd_lxc_passthrough [2019/02/23 09:00] adminlxd_lxc_passthrough [2021/10/09 15:14] (current) – external edit 127.0.0.1
Line 1: Line 1:
 =====LXD container - device pass trough===== =====LXD container - device pass trough=====
-Add serial (SMS module) device to container.+Add serial (SMS module) device to container, so that the Check_MK container can send SMS by using smstools which talks to the GSM module.
   * LXD host:<code>   * LXD host:<code>
-# lsusb +# lxc config device add checkmk ttyUSB0 unix-char path=/dev/ttyUSB0 uid=0 gid=20
-Bus 001 Device 003: ID 12d1:1573 Huawei Technologies Co., Ltd.  +
- +
-# lxc config device add checkmk ttyUSB0 unix-char path=/dev/ttyUSB0 uid=0 gid=20+
 Device ttyUSB0 added to checkmk Device ttyUSB0 added to checkmk
  
lxd_lxc_passthrough.txt · Last modified: 2021/10/09 15:14 by 127.0.0.1