mirror of
https://github.com/tteck/Proxmox.git
synced 2025-02-15 06:09:15 +01:00
Update zwavejs2mqtt_container.sh
This commit is contained in:
parent
3915ac6ad2
commit
e9e63c858d
1 changed files with 5 additions and 0 deletions
|
@ -149,6 +149,11 @@ LXC_CONFIG=/etc/pve/lxc/${CTID}.conf
|
||||||
cat <<EOF >> $LXC_CONFIG
|
cat <<EOF >> $LXC_CONFIG
|
||||||
lxc.cgroup2.devices.allow: a
|
lxc.cgroup2.devices.allow: a
|
||||||
lxc.cap.drop:
|
lxc.cap.drop:
|
||||||
|
lxc.cgroup2.devices.allow: c 188:* rwm
|
||||||
|
lxc.cgroup2.devices.allow: c 189:* 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
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
MOUNT=$(pct mount $CTID | cut -d"'" -f 2)
|
MOUNT=$(pct mount $CTID | cut -d"'" -f 2)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue