From f31e81c433297a5ebeb770ea0bd4f3c18e42f48c Mon Sep 17 00:00:00 2001 From: tteckster Date: Mon, 29 Nov 2021 10:27:20 -0500 Subject: [PATCH] Update zigbee2mqtt_container.sh --- zigbee2mqtt_container.sh | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/zigbee2mqtt_container.sh b/zigbee2mqtt_container.sh index e8a9875f..9d84626e 100644 --- a/zigbee2mqtt_container.sh +++ b/zigbee2mqtt_container.sh @@ -155,10 +155,8 @@ pct create $CTID $TEMPLATE_STRING -arch $ARCH -features nesting=1 \ # Modify LXC permissions to support Zigbee Sticks LXC_CONFIG=/etc/pve/lxc/${CTID}.conf cat <> $LXC_CONFIG -lxc.cgroup2.devices.allow: c 188:* rwm -lxc.mount.entry: /dev/serial/by-id dev/serial/by-id none bind,optional,create=dir -lxc.mount.entry: /dev/ttyUSB0 dev/ttyUSB0 none bind,optional,create=file -lxc.mount.entry: /dev/ttyACM0 dev/ttyACM0 none bind,optional,create=file +lxc.cgroup2.devices.allow: a +lxc.cap.drop: EOF # Set container timezone to match host