mirror of
https://github.com/tteck/Proxmox.git
synced 2024-11-27 00:53:16 +01:00
Update zigbee2mqtt_container.sh
This commit is contained in:
parent
3181263f0e
commit
f31e81c433
@ -155,10 +155,8 @@ pct create $CTID $TEMPLATE_STRING -arch $ARCH -features nesting=1 \
|
|||||||
# Modify LXC permissions to support Zigbee Sticks
|
# Modify LXC permissions to support Zigbee Sticks
|
||||||
LXC_CONFIG=/etc/pve/lxc/${CTID}.conf
|
LXC_CONFIG=/etc/pve/lxc/${CTID}.conf
|
||||||
cat <<EOF >> $LXC_CONFIG
|
cat <<EOF >> $LXC_CONFIG
|
||||||
lxc.cgroup2.devices.allow: c 188:* rwm
|
lxc.cgroup2.devices.allow: a
|
||||||
lxc.mount.entry: /dev/serial/by-id dev/serial/by-id none bind,optional,create=dir
|
lxc.cap.drop:
|
||||||
lxc.mount.entry: /dev/ttyUSB0 dev/ttyUSB0 none bind,optional,create=file
|
|
||||||
lxc.mount.entry: /dev/ttyACM0 dev/ttyACM0 none bind,optional,create=file
|
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
# Set container timezone to match host
|
# Set container timezone to match host
|
||||||
|
Loading…
Reference in New Issue
Block a user