Ben's notes

Linux, Unix, network, radio...

User Tools

Site Tools


lxd_lxc_passthrough

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Last revisionBoth sides next revision
lxd_lxc_passthrough [2019/02/23 08:48] adminlxd_lxc_passthrough [2019/02/24 09:23] admin
Line 1: Line 1:
 =====LXD container - device pass trough===== =====LXD container - device pass trough=====
-Add serial (SMS) 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+
 Device ttyUSB0 added to checkmk Device ttyUSB0 added to checkmk
- 
- 
  
 </code> </code>
    
 {{tag>[lxd container pass trough device]}} {{tag>[lxd container pass trough device]}}
lxd_lxc_passthrough.txt · Last modified: 2021/10/09 15:14 by 127.0.0.1